Skip to content

Escape latex escape sequences in color-excess.ipynb #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tutorials/color-excess/color-excess.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@
" ext = model(Rv=R)\n",
" plt.plot(1/wav, ext(wav), label=model.name+' R='+str(R))\n",
" \n",
"plt.xlabel('$\\lambda^{-1}$ ($\\mu$m$^{-1}$)')\n",
"plt.ylabel('A($\\lambda$) / A(V)')\n",
"plt.xlabel(r'$\\lambda^{-1}$ ($\\mu$m$^{-1}$)')\n",
"plt.ylabel(r'A($\\lambda$) / A(V)')\n",
"plt.legend(loc='best')\n",
"plt.title('Some Extinction Laws')\n",
"plt.show()"
Expand Down Expand Up @@ -632,8 +632,8 @@
"# Plot the model extinction curve for comparison \n",
"plt.plot(wav,Av*ext(wav)-Av,'--k')\n",
"plt.ylim([-2,2])\n",
"plt.xlabel('$\\lambda$ (Angstrom)')\n",
"plt.ylabel('E($\\lambda$-V)')\n",
"plt.xlabel(r'$\\lambda$ (Angstrom)')\n",
"plt.ylabel(r'E($\\lambda$-V)')\n",
"plt.title('Reddening of T=10,000K Background Source with Av=2')\n",
"plt.show() "
]
Expand Down
Loading