Skip to content

Commit

Permalink
Merge pull request #4130 from tacaswell/qt_event_fix
Browse files Browse the repository at this point in the history
Qt event fix
  • Loading branch information
efiring committed Feb 19, 2015
2 parents a2f33a3 + ac5cfae commit 02da8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/backends/backend_qt5.py
Expand Up @@ -248,11 +248,11 @@ def __timerEvent(self, event):
self.mpl_idle_event(event)

def enterEvent(self, event):
FigureCanvasBase.enter_notify_event(self, event, guiEvent=event)
FigureCanvasBase.enter_notify_event(self, guiEvent=event)

def leaveEvent(self, event):
QtWidgets.QApplication.restoreOverrideCursor()
FigureCanvasBase.leave_notify_event(self, event, guiEvent=event)
FigureCanvasBase.leave_notify_event(self, guiEvent=event)

def mousePressEvent(self, event):
x = event.pos().x()
Expand Down

0 comments on commit 02da8de

Please sign in to comment.