Jorge Scandaliaris
2015-02-18 22:02:41 UTC
Hi,
A recent commit against lib/matplotlib/backends/backend_qt5.py [1] causes
some errors in code that was working fine before. The error is as follows:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/jscandal/sw/matplotlib/matplotlib.py3/lib/matplotlib/backends
/backend_qt5.py
in enterEvent(self, event)
249
250 def enterEvent(self, event):
--> 251 FigureCanvasBase.enter_notify_event(self, event, guiEvent=event)
252
253 def leaveEvent(self, event):
TypeError: enter_notify_event() got multiple values for argument 'guiEvent'
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/jscandal/sw/matplotlib/matplotlib.py3/lib/matplotlib/backends
/backend_qt5.py
in leaveEvent(self, event)
253 def leaveEvent(self, event):
254 QtWidgets.QApplication.restoreOverrideCursor()
--> 255 FigureCanvasBase.leave_notify_event(self, event, guiEvent=event)
256
257 def mousePressEvent(self, event):
TypeError: leave_notify_event() got multiple values for argument 'guiEvent'
Reverting the changes introduced by the commit in lines 251 and 255 of
backend_qt5.py seems to fix the issue, in my particular use case.
Regards,
Jorge
1.
b72e0cd9e63f7cf4bec2908143c62c23666b674a
Author: Steven Silvester <***@ieee.org>
Date: Sun Feb 15 09:38:21 2015 -0600
Add guiEvent data to Qt backend
A recent commit against lib/matplotlib/backends/backend_qt5.py [1] causes
some errors in code that was working fine before. The error is as follows:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/jscandal/sw/matplotlib/matplotlib.py3/lib/matplotlib/backends
/backend_qt5.py
in enterEvent(self, event)
249
250 def enterEvent(self, event):
--> 251 FigureCanvasBase.enter_notify_event(self, event, guiEvent=event)
252
253 def leaveEvent(self, event):
TypeError: enter_notify_event() got multiple values for argument 'guiEvent'
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/jscandal/sw/matplotlib/matplotlib.py3/lib/matplotlib/backends
/backend_qt5.py
in leaveEvent(self, event)
253 def leaveEvent(self, event):
254 QtWidgets.QApplication.restoreOverrideCursor()
--> 255 FigureCanvasBase.leave_notify_event(self, event, guiEvent=event)
256
257 def mousePressEvent(self, event):
TypeError: leave_notify_event() got multiple values for argument 'guiEvent'
Reverting the changes introduced by the commit in lines 251 and 255 of
backend_qt5.py seems to fix the issue, in my particular use case.
Regards,
Jorge
1.
b72e0cd9e63f7cf4bec2908143c62c23666b674a
Author: Steven Silvester <***@ieee.org>
Date: Sun Feb 15 09:38:21 2015 -0600
Add guiEvent data to Qt backend