Try opening a python shell and type:

from pylab import *
a = [1,2,3]
a

What is a? Is it an array? Make sure you create an array by giving a
command like this:

a = array([1,2,3])

[EMAIL PROTECTED] schreef:
> Hello I have installed matplotlib on su 10.0 
>
> when i do only this example 
>
> from pylab import *
> plot([1,2,3])
>
> i get this error:
> only length-1 attays can be converted to Python scalars.
>
> How i have made wrong?
>
> Regards
>
> Luca
>
>
>
>
> ------------------------------------------------------
> Mutui a tassi scontati da 40 banche. Richiedi online e risparmia...Servizio 
> gratuito. www.mutuionline.it
> http://click.libero.it/mutuionline13nov
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to