Skip to content

Commit

Permalink
Update plotspectra.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Dec 16, 2024
1 parent 1a9454b commit 5c0ad38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions artistools/spectra/plotspectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,7 @@ def make_plot(args) -> tuple[mplfig.Figure, np.ndarray, pl.DataFrame]:
ax.text(5500, ymax * 0.9, f"{args.timedayslist[index]} days") # multispecplot text

if not args.hidexticklabels:
axes[-1].set_xlabel(args.xlabel)
axes[-1].set_xlabel(r"Wavelength $\left[\mathrm{{\AA}}\right]$")

if not args.outputfile:
args.outputfile = defaultoutputfile
Expand Down Expand Up @@ -1322,8 +1322,6 @@ def addargs(parser) -> None:

parser.add_argument("--hidexticklabels", action="store_true", help="Don't show numbers or a label on the x axis")

parser.add_argument("-xlabel", default=r"Wavelength $\left[\mathrm{{\AA}}\right]$", help="Label for the x axis")

parser.add_argument("--hideyticklabels", action="store_true", help="Don't show numbers or a label on the y axis")

parser.add_argument("--write_data", action="store_true", help="Save data used to generate the plot in a CSV file")
Expand Down

0 comments on commit 5c0ad38

Please sign in to comment.