Thanks to visit codestin.com Credit goes to github.com
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 b953019 commit dcf8645Copy full SHA for dcf8645
1 file changed
lib/matplotlib/offsetbox.py
@@ -152,6 +152,13 @@ def set_figure(self, fig):
152
for c in self.get_children():
153
c.set_figure(fig)
154
155
+ def contains(self, mouseevent):
156
+ for c in self.get_children():
157
+ a, b = c.contains(mouseevent)
158
+ if a:
159
+ return a, b
160
+ return False, {}
161
+
162
def set_offset(self, xy):
163
"""
164
Set the offset
0 commit comments