kikocis/auto-code-rover public
| 1 | diff --git a/lib/matplotlib/figure.py b/lib/matplotlib/figure.py |
| 2 | --- a/lib/matplotlib/figure.py |
| 3 | +++ b/lib/matplotlib/figure.py |
| 4 | @@ -931,6 +931,7 @@ def _break_share_link(ax, grouper): |
| 5 | self._axobservers.process("_axes_change_event", self) |
| 6 | self.stale = True |
| 7 | self._localaxes.remove(ax) |
| 8 | + self.canvas.release_mouse(ax) |
| 9 | |
| 10 | # Break link between any shared axes |
| 11 | for name in ax._axis_names: |