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
shu...@16... 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
>
>
>
|