Skip to content

Commit

Permalink
Revert "re-introduce delay_callback"
Browse files Browse the repository at this point in the history
This reverts commit 80cfa30.
  • Loading branch information
kecnry committed Dec 13, 2024
1 parent 2e3483c commit 05440ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jdaviz/core/freezable_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 05440ed

Please sign in to comment.