Skip to content

Commit

Permalink
Make sure _previous_attribute is set initially
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 13, 2024
1 parent 8e9a42b commit 76691b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions glue_jupyter/bqplot/image/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def __init__(self, *args, **kwargs):
self.add_callback('level_mode', self._update_levels)
self.add_callback('levels', self._update_labels)
self.add_callback('attribute_display_unit', self._convert_units_c_limits, echo_old=True)
self._convert_units_c_limits(None, None)

self._update_levels()

Expand Down

0 comments on commit 76691b7

Please sign in to comment.