From 7947f9aa310fa1622e9300b6d3f38d3f6e550971 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Mon, 8 Feb 2021 22:06:48 +0530 Subject: [PATCH] Reverted back to old notation --- tardis/widgets/sdec_plot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tardis/widgets/sdec_plot.py b/tardis/widgets/sdec_plot.py index 1ef033ff59c..7080226c585 100644 --- a/tardis/widgets/sdec_plot.py +++ b/tardis/widgets/sdec_plot.py @@ -873,15 +873,15 @@ 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"Flux [erg $\mathrm{s^{-1}}$ $\mathrm{cm^{-2}}$ $\mathrm{\AA^{-1}}$]", + 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"Luminosity [erg $\mathrm{s^{-1}}$ $\mathrm{\AA^{-1}}$]", + r"$L_{\lambda}$ [erg $\mathrm{s^{-1}}$ $\mathrm{\AA^{-1}}$]", fontsize=12, )