From abb187910890430af1b15f9f9151456e6787fc65 Mon Sep 17 00:00:00 2001 From: DanielaBreitman Date: Tue, 19 Sep 2023 14:07:55 +0200 Subject: [PATCH] Tutorial changes --- docs/tutorials/21cmFAST_tau_UVLFs.ipynb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/21cmFAST_tau_UVLFs.ipynb b/docs/tutorials/21cmFAST_tau_UVLFs.ipynb index 53ef8a8..680b2d1 100644 --- a/docs/tutorials/21cmFAST_tau_UVLFs.ipynb +++ b/docs/tutorials/21cmFAST_tau_UVLFs.ipynb @@ -206,7 +206,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 17, "metadata": {}, "outputs": [], "source": [ @@ -218,6 +218,7 @@ " N = 10, offset = 0,\n", " cs = None):\n", " rcParams.update({'font.size': 30})\n", + " plt.rcParams.update({\"figure.facecolor\": (0.0, 0.0, 0.0, 0.0)})\n", " if cs is None:\n", " cs = ['k','lime','b', 'orange', 'cyan', 'magenta', 'grey', 'pink', 'darkred', 'coral']\n", " y_true_interp = np.zeros(y_emu.shape)\n", @@ -258,7 +259,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 18, "metadata": { "scrolled": false }, @@ -325,7 +326,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 19, "metadata": {}, "outputs": [ { @@ -343,6 +344,7 @@ ], "source": [ "rcParams.update({'font.size': 25})\n", + "plt.rcParams.update({\"figure.facecolor\": (0.0, 0.0, 0.0, 0.0)})\n", "plt.scatter(analytic_tau, tau_emu, marker = '.', color = 'k')\n", "line = np.linspace(0,max(analytic_tau), 10)\n", "plt.plot(line, line, color = 'r', ls = '--')\n",