diff --git a/tutorials/color-excess/color-excess.ipynb b/tutorials/color-excess/color-excess.ipynb index cfb8e10f..4b864b7a 100644 --- a/tutorials/color-excess/color-excess.ipynb +++ b/tutorials/color-excess/color-excess.ipynb @@ -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()" @@ -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() " ]