From: John H. <jd...@gm...> - 2009-08-05 11:08:48
|
On Wed, Aug 5, 2009 at 5:55 AM, Michiel de Hoon<mjl...@ya...> wrote: > > I am seeing the following error with the GTKCairo and GTKAgg backends: > >>>> figure() > <matplotlib.figure.Figure object at 0x7ebe0cec> >>>> Traceback (most recent call last): > File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 249, in enter_notify_event > FigureCanvasBase.enter_notify_event(self, event, guiEvent=event) > TypeError: enter_notify_event() got multiple values for keyword argument 'guiEvent' > Traceback (most recent call last): > File "/usr/local/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 246, in leave_notify_event > FigureCanvasBase.leave_notify_event(self, event, guiEvent=event) > TypeError: leave_notify_event() got multiple values for keyword argument 'guiEvent' > > whenever I move the mouse into or out of the figure windows. Good catch -- in fixing a sf bug in which the GTK gui event was not getting attached to the scroll event https://sourceforge.net/tracker/?func=detail&aid=2816580&group_id=80706&atid=560720 I noticed most other events were not getting their gui event attached, and apparently went overboard and added them to the enter/leave events when they were already there. Fixed in the svn branch and will be merged into the trunk later -- thanks for catching it JDH |