From 05440eda50e2ef83e60d055bb68411b92a87dec1 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 13 Dec 2024 13:32:59 -0500 Subject: [PATCH] Revert "re-introduce delay_callback" This reverts commit 80cfa30b22f24f377c60d0ff8c75c10476f60143. --- jdaviz/core/freezable_state.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jdaviz/core/freezable_state.py b/jdaviz/core/freezable_state.py index fa22fd0523..27b7003ad3 100644 --- a/jdaviz/core/freezable_state.py +++ b/jdaviz/core/freezable_state.py @@ -81,9 +81,8 @@ def _convert_units_y_limits(self, old_unit, new_unit): y_corners_new = flux_conversion(y_corners, old_unit, new_unit, spectral_axis=spectral_axis) # noqa - with delay_callback(self, 'y_min', 'y_max'): - self.y_min = np.nanmin(y_corners_new) - self.y_max = np.nanmax(y_corners_new) + self.y_min = np.nanmin(y_corners_new) + self.y_max = np.nanmax(y_corners_new) class FreezableBqplotImageViewerState(BqplotImageViewerState, FreezableState):