Skip to content

Commit

Permalink
Update plotspectra.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Jan 30, 2025
1 parent 62232d5 commit 3235b83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artistools/spectra/plotspectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def make_plot(args) -> tuple[mplfig.Figure, np.ndarray, pl.DataFrame]:
elif args.x.lower() == "hz":
ylabel = r"F$_\nu$ at 1 Mpc [{}erg/s/cm$^2$/Hz]"
elif args.x.lower() == "kev":
ylabel = r"F$_en_kev$ at 1 Mpc [{}erg/s/cm$^2$/keV]"
ylabel = r"dF/dE at 1 Mpc [{}erg/s/cm$^2$/keV]"

assert ylabel is not None
if args.logscaley:
Expand Down

0 comments on commit 3235b83

Please sign in to comment.