Skip to content

Commit

Permalink
Reverted back to old notation
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvSondhi committed Feb 12, 2021
1 parent d611bb3 commit 7947f9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tardis/widgets/sdec_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 7947f9a

Please sign in to comment.