Skip to content

Commit

Permalink
Merge pull request #350 from astrofrog/fix-reference-data-update
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog authored Apr 11, 2023
2 parents 8cf90d0 + 6357d26 commit 68ecf36
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions glue_jupyter/bqplot/image/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ def _setup_view_listener(self):
css_selector=".plotarea_events")
self._vl.observe(self._on_view_change, names=['view_data'])

def _update_data(self, *args, **kwargs):
super()._update_data(*args, **kwargs)
try:
self.state._reference_data_changed(force=True)
except TypeError: # older glue-core versions did not have force=True
self.state._reference_data_changed()

def _reset_limits(self, old, new):
if new is not old:
self.state.reset_limits()
Expand Down

0 comments on commit 68ecf36

Please sign in to comment.