Problems with running cursor_demo on Wx

When running the cursor_demo with the wxAgg I get the following error:

C:\programming\matplotlib-0.61.0\examples>cursor_demo.py
Traceback (most recent call last):
  File "C:\programming\matplotlib-0.61.0\examples\cursor_demo.py", line 87,
in ?
    canvas.connect('motion_notify_event', cursor.mouse_move)
AttributeError: 'FigureCanvasWxAgg' object has no attribute 'connect'

Ok. I found the excursor_demo.py.

However, it seems like this demo has a problem. When you expand tthe window.
In addition to the cross hair there is a permanent cross and veritcal line
where the cross hair was when the window was expanded.

Any suggestion?

Vineet

···

-----Original Message-----
From: matplotlib-users-admin@lists.sourceforge.net
[mailto:matplotlib-users-admin@lists.sourceforge.net]On Behalf Of Vineet
Jain
Sent: Saturday, August 14, 2004 9:17 PM
To: matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] Problems with running cursor_demo on Wx

When running the cursor_demo with the wxAgg I get the following error:

C:\programming\matplotlib-0.61.0\examples>cursor_demo.py
Traceback (most recent call last):
  File "C:\programming\matplotlib-0.61.0\examples\cursor_demo.py", line 87,
in ?
    canvas.connect('motion_notify_event', cursor.mouse_move)
AttributeError: 'FigureCanvasWxAgg' object has no attribute 'connect'

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users