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 6ab710d commit 73e1f59Copy full SHA for 73e1f59
lib/matplotlib/backends/_backend_tk.py
@@ -311,6 +311,17 @@ def leave_notify_event(self, event):
311
modifiers=self._mpl_modifiers(event),
312
guiEvent=event)._process()
313
314
+ def hover_event(self, event):
315
+ artist = event.artist
316
+ if not artist.get_hover:
317
+ thismouse = MouseEvent("motion_hover_event", self,
318
+ *self.mouseEventCoords(event),
319
+ modifiers=self._mpl_modifiers(),
320
+ guiEvent=event)
321
+ HoverEvent("motion_hover_event", self,
322
+ thismouse, artist, None)._process()
323
+ # make tooltip corresponding to this? this part doesn't exactly work
324
+
325
def button_press_event(self, event, dblclick=False):
326
# set focus to the canvas so that it can receive keyboard events
327
self._tkcanvas.focus_set()
0 commit comments