Skip to content

Commit 4ca6664

Browse files
committed
correctly check inaxes for multicursor
1 parent 6a35abf commit 4ca6664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ def clear(self, event):
16531653
def onmove(self, event):
16541654
if self.ignore(event):
16551655
return
1656-
if event.inaxes is None:
1656+
if event.inaxes not in self.axes:
16571657
return
16581658
if not self.canvas.widgetlock.available(self):
16591659
return

0 commit comments

Comments
 (0)