On Sun, 2006-12-24 at 22:43 -0800,
[EMAIL PROTECTED] wrote:
>         hi,
>         TypeError happened when I ran contour_demo.py -dGtkCairo,Can
>         anybody
>         tell me the reason? 
>         TypeError: surface_create_for_array() argument 1 must be
>         array, not
>         numpy.ndarray
>         
>         -
>         window xp
>         python24
>         matplotlib 0.87

The cairo backend was developed using Numeric and the problem you report
is triggered when using numpy. The TypeError has been fixed in SVN so it
should not be a problem in the next matplotlib release.

Running contour_demo.py works for figure 1,2,3 but figure 4 highlights
another problem.

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to