diff --git a/lib/matplotlib/backends/backend_macosx.py b/lib/matplotlib/backends/backend_macosx.py index 609f89c99c05..5ea6f8d10d16 100644 --- a/lib/matplotlib/backends/backend_macosx.py +++ b/lib/matplotlib/backends/backend_macosx.py @@ -125,7 +125,8 @@ def __init__(self, canvas): def draw_rubberband(self, event, x0, y0, x1, y1): self.canvas.set_rubberband(int(x0), int(y0), int(x1), int(y1)) - def release(self, event): + def release_zoom(self, event): + super().release_zoom(event) self.canvas.remove_rubberband() def set_cursor(self, cursor):