Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d9b429e

Browse files
committed
inaxes logic in LocationEvent incorrectly assumed _navigate should be True for interactions to occur.
svn path=/trunk/matplotlib/; revision=2250
1 parent 2e2f850 commit d9b429e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ def __init__(self, name, canvas, x, y,guiEvent=None):
667667

668668
self.inaxes = [] # Need to correctly handle overlapping axes
669669
for a in self.canvas.figure.get_axes():
670-
if self.x is not None and self.y is not None and a.in_axes(self.x, self.y) and a.get_navigate():
670+
if self.x is not None and self.y is not None and a.in_axes(self.x, self.y):
671671
self.inaxes.append(a)
672672

673673
if len(self.inaxes) == 0: # None found

0 commit comments

Comments
 (0)