Issue 17 in glumpy: TypeError: on_mouse_scroll event was dispatched with 4 arguments, but handler on_mouse_scroll at glumpy/figure.py:598 has an incompatible function signature

2 views
Skip to first unread message

glu...@googlecode.com

unread,
Mar 22, 2012, 10:56:05 AM3/22/12
to Nicolas...@inria.fr
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 17 by oldarbys...@gmail.com: TypeError: on_mouse_scroll event was
dispatched with 4 arguments, but handler on_mouse_scroll at
glumpy/figure.py:598 has an incompatible function signature
http://code.google.com/p/glumpy/issues/detail?id=17

I get this error when trying to call on_mouse_scroll. Something is not
quite right in on_mouse_scroll in glumpy/figure.py. Changing the function
def to:

def on_mouse_scroll(self, x, y, scroll_x, scroll_y):

seems to fix it.

Oliver


glu...@googlecode.com

unread,
Mar 22, 2012, 11:01:11 AM3/22/12
to Nicolas...@inria.fr
Updates:
Status: Fixed

Comment #1 on issue 17 by Nicolas...@gmail.com: TypeError:

on_mouse_scroll event was dispatched with 4 arguments, but handler
on_mouse_scroll at glumpy/figure.py:598 has an incompatible function
signature
http://code.google.com/p/glumpy/issues/detail?id=17

Thanks. It has been fixed in the trunk.


Nicolas

Reply all
Reply to author
Forward
0 new messages