Skip to content

Commit

Permalink
Merge pull request spacetelescope#3172 from pllim/wut
Browse files Browse the repository at this point in the history
BUG: Fix typo on internal method
  • Loading branch information
pllim authored Aug 28, 2024
2 parents ca0b107 + bd6fc4f commit 69e31b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def __init__(self, *args, **kwargs):
self.session.hub.subscribe(self, SliceValueUpdatedMessage,
handler=self._on_slice_changed)
self.hub.subscribe(self, GlobalDisplayUnitChanged,
handler=self._on_gloabl_display_unit_changed)
handler=self._on_global_display_unit_changed)

self._update_disabled_msg()

Expand Down Expand Up @@ -315,7 +315,7 @@ def _update_mark_scale(self, *args):
else:
self.background.scale_factor = self.slice_spectral_value/self.reference_spectral_value

def _on_gloabl_display_unit_changed(self, msg={}):
def _on_global_display_unit_changed(self, msg={}):

if msg.axis == 'spectral_y':
self.spectrum_y_units = str(msg.unit)
Expand Down

0 comments on commit 69e31b7

Please sign in to comment.