From 3cec14bbc0d356d4e5294874f08373a2aac386e6 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Mon, 9 Dec 2024 15:22:18 -0500 Subject: [PATCH] TST: remove _reset_y_limits fallback --- jdaviz/core/freezable_state.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jdaviz/core/freezable_state.py b/jdaviz/core/freezable_state.py index 0d94eb2cdf..8bb8b8b723 100644 --- a/jdaviz/core/freezable_state.py +++ b/jdaviz/core/freezable_state.py @@ -63,7 +63,6 @@ def _convert_units_y_limits(self, old_unit, new_unit): if old_unit != new_unit: if old_unit is None or new_unit is None: - self._reset_y_limits() return x_corners = np.array([self.x_min, self.x_min, self.x_max, self.x_max])