diff --git a/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py b/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py index 851a9bae37..60efef7db9 100644 --- a/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py +++ b/jdaviz/configs/cubeviz/plugins/spectral_extraction/spectral_extraction.py @@ -204,6 +204,9 @@ def _update_mark_scale(self, *args): self.aperture.scale_factor = 1.0 else: self.aperture.scale_factor = self.slice_wavelength/self.reference_wavelength + + self.app._metadata['_pixel_scale_factor'] = self.aperture.scale_factor + if not self.bg_wavelength_dependent: self.background.scale_factor = 1.0 else: