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 62e4cbf commit fe88931
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/tutorials/21cmFAST_tau_UVLFs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -219,7 +219,7 @@
" N = 10, offset = 0,\n",
" cs = None):\n",
" rcParams.update({'font.size': 30})\n",
" plt.rcParams.update({\"figure.facecolor\": 'white'})\n",
" rcParams.update({\"figure.facecolor\": 'white'})\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 @@ -260,7 +260,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 15,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -336,8 +336,9 @@
}
],
"source": [
"%matplotlib inline\n",
"rcParams.update({'font.size': 25})\n",
"plt.rcParams.update({\"figure.facecolor\": 'white'})\n",
"rcParams.update({\"figure.facecolor\": 'white'})\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 fe88931

Please sign in to comment.