We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0268f7d commit 5d2c3d8Copy full SHA for 5d2c3d8
1 file changed
tutorials/euclid_access/3_Euclid_intro_1D_spectra.md
@@ -56,6 +56,7 @@ import matplotlib.pyplot as plt
56
57
from astropy.io import fits
58
from astropy.table import QTable
59
+from astropy import units as u
60
from astropy.visualization import quantity_support
61
62
from astroquery.ipac.irsa import Irsa
@@ -128,7 +129,7 @@ quantity_support()
128
129
```
130
131
```{code-cell} ipython3
-plt.plot(spectra['WAVELENGTH'], spectra['SIGNAL'])
132
+plt.plot(spectra['WAVELENGTH'].to(u.micron), spectra['SIGNAL'])
133
plt.title(obj_id)
134
135
0 commit comments