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

Skip to content

Commit 6ab710d

Browse files
committed
change event name not to conflict
1 parent 1cc592b commit 6ab710d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/backends/backend_qt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,11 +308,11 @@ def mouseReleaseEvent(self, event):
308308
def mouseOverEvent(self, event):
309309
artist = event.artist
310310
if not artist.get_hover:
311-
thismouse = MouseEvent("motion_notify_event", self,
311+
thismouse = MouseEvent("motion_hover_event", self,
312312
*self.mouseEventCoords(event),
313313
modifiers=self._mpl_modifiers(),
314314
guiEvent=event)
315-
hovering = HoverEvent("motion_notify_event", self,
315+
hovering = HoverEvent("motion_hover_event", self,
316316
thismouse, artist, None)
317317
hovering._process()
318318

0 commit comments

Comments
 (0)