8000 Ignore the axes patch · matplotlib/matplotlib@5850150 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5850150

Browse files
committed
Ignore the axes patch
1 parent 3f20d3a commit 5850150

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,6 +2795,8 @@ def mouse_move(self, event):
27952795
pass
27962796
else:
27972797
artists = event.inaxes.hitlist(event)
2798+
if event.inaxes.patch in artists:
2799+
artists.remove(event.inaxes.patch)
27982800
artists.sort(key=lambda x: x.zorder)
27992801
if artists:
28002802
s += artists[-1].get_zdata(event)

0 commit comments

Comments
 (0)
0