Skip to content

Commit

Permalink
Set self._roi to None on deactivate
Browse files Browse the repository at this point in the history
  • Loading branch information
dhomeier committed Jan 31, 2024
1 parent ed24ff3 commit b26dd56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glue_jupyter/bqplot/common/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def activate(self):

def deactivate(self):
self.viewer._mouse_interact.next = None
if hasattr(self, '_roi'):
self._roi = None


class BqplotSelectionTool(InteractCheckableTool):
Expand Down

0 comments on commit b26dd56

Please sign in to comment.