We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6638c4f commit 5d7ed06Copy full SHA for 5d7ed06
lib/matplotlib/text.py
@@ -211,7 +211,8 @@ def contains(self,mouseevent):
211
r = l+w
212
t = b+h
213
x, y = mouseevent.x, mouseevent.y
214
- return x >= l and x <= r and y >= t and y <= b
+ inside = (x >= l and x <= r and y >= t and y <= b)
215
+ return inside, {}
216
217
def _get_xy_display(self):
218
'get the (possibly unit converted) transformed x, y in display coords'
0 commit comments