Skip to content

Commit

Permalink
re-introduce resetting y-limits (until can be fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Sep 25, 2024
1 parent 478b2ea commit 2a74466
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ def _handle_spectral_y_unit(self, *args):
pass
else:
self.spectrum_viewer.set_plot_axes()
# until we can have upstream automatic limit updating on change
# in display units with equivalencies, we'll reset the limits
self.spectrum_viewer.reset_limits()

# broadcast that there has been a change in the spectrum viewer y axis,
self.hub.broadcast(GlobalDisplayUnitChanged('spectral_y',
Expand Down

0 comments on commit 2a74466

Please sign in to comment.