diff --git a/glue_jupyter/bqplot/common/tools.py b/glue_jupyter/bqplot/common/tools.py index 46a0b93c..c301a7dd 100644 --- a/glue_jupyter/bqplot/common/tools.py +++ b/glue_jupyter/bqplot/common/tools.py @@ -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):