Skip to content

Commit

Permalink
Remove plot_date due to upstream dep warning (#7475)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Mar 7, 2024
1 parent 0127853 commit 431bbba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunpy/timeseries/sources/goes.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def plot(self, axes=None, columns=None, **kwargs):
plot_settings = {"xrsa": ["blue", r"0.5--4.0 $\AA$"], "xrsb": ["red", r"1.0--8.0 $\AA$"]}
data = self.to_dataframe()
for channel in columns:
axes.plot_date(
axes.plot(
data.index, data[channel], "-", label=plot_settings[channel][1], color=plot_settings[channel][0], lw=2, **kwargs
)
axes.set_yscale("log")
Expand Down

0 comments on commit 431bbba

Please sign in to comment.