[SciPy-User] ValueError: setting and array element with a sequence

Bruce Ford bruce@clearscienceinc....
Mon Jan 11 10:40:42 CST 2010


I'm new at this and I'm getting this error.  It looks straightforward
enough.  Any ideas?

ynew = numpy.linspace (0,360,360)/2.5
xnew = numpy.linspace (0,180, 180)/2.5
coords = numpy.array([xnew, ynew])

yeilds:  ValueError:  setting and array element with a sequence

Bruce

---------------------------------------
Bruce W. Ford
Clear Science, Inc.
bruce@clearscienceinc.com
bruce.w.ford.ctr@navy.smil.mil
http://www.ClearScienceInc.com
Phone/Fax: 904-379-9704
8241 Parkridge Circle N.
Jacksonville, FL  32211
Skype:  bruce.w.ford
Google Talk: fordbw@gmail.com


More information about the SciPy-User mailing list