[Matplotlib-users] surface_create_for_array() argument 1 must be array, not numpy.ndarray
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 -- <> - 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
Re: [Matplotlib-users] surface_create_for_array() argument 1 must be array, not numpy.ndarray
I have verified that this occurs also on svn mpl with Linux, In [4]:cairo.cairo_version_string() Out[4]:'1.2.4' The immediate solution is to use a different backend. Eric [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 > > > - 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
[Matplotlib-users] Problems with building from source on windows with MinGW
Hi, I'm having problems with building mpl from SVN on WinXP, Python 2.5, latest numpy. I'm using MinGW from the enthought edition. I remember building it without problems just few weeks ago. The build process finishes without error. Then, when I try: from pylab import * it crashes import matplotlib doesn't crash I also had problems with Python 2.4 Best, Edin - 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
[Matplotlib-users] can contour be drawed in "vector mode"?
Hi, matplotlib can make a contour plot on a masked array z using contourf(x,y,z).but it seems that it draws in a raster mode.there is sawtooth at the edge of the picture when it is zoomed.can contour be drawed in a vector mode? i means that 1) give an array z which has not been masked. 2) contourf 3) using a ploygon array as a mask instead of using a masked grid array. the part out of the polygon will be clipped.it seems that cairo and agg can both work in this way. shu -- <> - 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