diff --git a/tardis/widgets/sdec_plot.py b/tardis/widgets/sdec_plot.py index 5a188971d17..7080226c585 100644 --- a/tardis/widgets/sdec_plot.py +++ b/tardis/widgets/sdec_plot.py @@ -873,13 +873,17 @@ def generate_plot_mpl( # Set legends and labels self.ax.legend(fontsize=12) - self.ax.set_xlabel(r"Wavelength $[\AA]$", fontsize=12) + self.ax.set_xlabel(r"Wavelength $[\mathrm{\AA}]$", fontsize=12) if distance: # Set y-axis label for flux self.ax.set_ylabel( - r"$F_{\lambda}$ [erg/s/cm^{2}/$\AA$]", fontsize=12 + r"$F_{\lambda}$ [erg $\mathrm{s^{-1}}$ $\mathrm{cm^{-2}}$ $\mathrm{\AA^{-1}}$]", + fontsize=12, ) else: # Set y-axis label for luminosity - self.ax.set_ylabel(r"$L_{\lambda}$ [erg/s/$\AA$]", fontsize=12) + self.ax.set_ylabel( + r"$L_{\lambda}$ [erg $\mathrm{s^{-1}}$ $\mathrm{\AA^{-1}}$]", + fontsize=12, + ) return plt.gca()