Skip to content

Commit f1d3df9

Browse files
authored
Merge pull request #17911 from meeseeksmachine/auto-backport-of-pr-17907-on-v3.3.x
Backport PR #17907 on branch v3.3.x (Fix release() method name in macosx backend)
2 parents c899614 + 3aa0101 commit f1d3df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_macosx.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ def __init__(self, canvas):
125125
def draw_rubberband(self, event, x0, y0, x1, y1):
126126
self.canvas.set_rubberband(int(x0), int(y0), int(x1), int(y1))
127127

128-
def release(self, event):
128+
def release_zoom(self, event):
129+
super().release_zoom(event)
129130
self.canvas.remove_rubberband()
130131

131132
def set_cursor(self, cursor):

0 commit comments

Comments
 (0)