Skip to content

Commit

Permalink
Tutorial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaBreitman committed Sep 19, 2023
1 parent d5957fd commit abb1879
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/tutorials/21cmFAST_tau_UVLFs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -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",
Expand Down Expand Up @@ -258,7 +259,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 18,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -325,7 +326,7 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand All @@ -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",
Expand Down

0 comments on commit abb1879

Please sign in to comment.