Describe the bug
Plotting changes the underlying Spectrum object. This was unexpected.
How to Reproduce
from dysh.spectra import Spectrum
s = Spectrum.fake_spectrum()
ss = s._copy()
ss.plot(xaxis_unit="km/s", vel_frame="icrs")
# Now s and ss are different.
Describe the bug Plotting changes the underlying
Spectrum
object. This was unexpected.How to Reproduce