Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 24, 2025
1 parent c6b60ff commit 3365f83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/tutorials/SKA_forecast.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -854,22 +854,22 @@
" sensitivity_at_k[~m],\n",
" color=colors[i] if colors is not None else None,\n",
" ls=lss[i] if lss is not None else None,\n",
" label = 'sensitivity' if i == 6 else None,\n",
" alpha = 0.3,\n",
" label=\"sensitivity\" if i == 6 else None,\n",
" alpha=0.3,\n",
" )\n",
" ax[0].errorbar(\n",
" sense[\"redshifts\"][~m],\n",
" theory_at_k[~m],\n",
" yerr=sensitivity_at_k[~m],\n",
" label = 'EOS2021' if i == 6 else None,\n",
" label=\"EOS2021\" if i == 6 else None,\n",
" color=colors[i] if colors is not None else None,\n",
" ls=lss[i] if lss is not None else None,\n",
" )\n",
" ax[0].set_xlabel(\"Redshift\")\n",
" ax[0].set_ylabel(r\"$\\Delta^2_{21}$ [mK$^2$]\")\n",
" ax[0].set_yscale(\"log\")\n",
" if labels is not None:\n",
" plt.legend(frameon=False, fontsize=18, loc='upper left')\n",
" plt.legend(frameon=False, fontsize=18, loc=\"upper left\")\n",
" ylims = ax[0].get_ylim()\n",
" xlims = ax[0].get_xlim()\n",
" plt.text(\n",
Expand All @@ -893,7 +893,7 @@
" sensitivity_at_z[~m],\n",
" color=colors[i] if colors is not None else None,\n",
" ls=lss[i] if lss is not None else None,\n",
" alpha = 0.3,\n",
" alpha=0.3,\n",
" )\n",
" ax[0].errorbar(\n",
" sense[band_name][\"k_1D_Mpc\"][~m],\n",
Expand Down

0 comments on commit 3365f83

Please sign in to comment.