|
From: Charlie M. <cw...@gm...> - 2006-01-19 19:04:18
|
I agree. numpy.core.multiarray is the base object for arrays, but it not really supposed to be used directly. All arrays should have a dtypechar property, and since that was the source of your original error, I am even more sure you shouldn't use it directly. Chris's suggestions are the correct approach. On 1/19/06, Christopher Barker <Chr...@no...> wrote: > Eric Emsellem wrote: > > > I have switched to numpy (I was using numarray before) with matplotlib. > > > x =3D numpy.core.multiarray.arange(0.,6.,1.) > > Why not use: > > x =3D numpy.arange(0.,6.,1.) > > Or maybe better with MPL: > > import matplotlib.numerix as nx > x =3D nx.arange(0.,6.,1.) > > after setting numerix appropriately in .matplotlibrc. > > -Chris > > > -- > Christopher Barker, Ph.D. > Oceanographer > > NOAA/OR&R/HAZMAT (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > Chr...@no... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |