Can you put in a pull request with those changes please?
On Wed, Feb 18, 2015, 17:03 Jorge Scandaliaris <jorgesmbox...@yahoo.es>
wrote:
> 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 <steven.silves...@ieee.org>
> Date: Sun Feb 15 09:38:21 2015 -0600
>
> Add guiEvent data to Qt backend
>
>
>
> ------------------------------------------------------------
> ------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&
> iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users