|
From: John H. <jdh...@ac...> - 2004-06-21 18:49:42
|
>>>>> "Thomas" == Thomas Barket <tho...@ya...> writes:
Thomas> Hello, i cant get stock_demo.py to run correctly. it
Thomas> seems there is a problem reading the data files,
Thomas> specifically using numarray/Numeric's "fromstring" on the
Thomas> example data files. the first result below is with
Thomas> numarray and the second is with Numeric. im using python
Thomas> 2.3.4 and matplotlib 0.54.2 win32 for python 2.3.
Where are you getting the examples dir from? I notice that I failed
to upload a zip file that includes the examples directory with the
0.54.2 release. Are you using one from a previous release?
It looks like you make have a corrupt stock data file. I was able to
load the stock_demo example using both the numeric and numarray win32
builds, with either numerix setting in my rc file.
I did, however, discover a bug in the navigation code in that example
related to data clipping.
The zip file below fixes the latter problem. Unzip it in your
site-packages dir (do not remove the old matplotlib code, just unzip
this over it)
http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-py.60a.zip
And get a fresh examples dir from
http://nitace.bsd.uchicago.edu:8080/files/share/matplotlib-examples.60a.zip
Hope this helps,
JDH
|