plot.py problem

chris botos wrote:

Hi all,

I'm using wx.lib.plot.py on Solaris 10, x86, Python 2.4.3, and
wxPython 2.6.3.3. The file plot.py has been modified as follows (as
discussed on a previous thread on this list with Christopher Barker):

...
import numpy.oldnumeric as _Numeric
...

Some of my bar plots are not being drawn correctly.
I'm using Wing IDE 2.1.2-1 to trace the execution and have gone into
PolyPoints.__init__,
where points is [('10',0), ('10', -.029999999999999999)].

You've got a mixed datatype for the points. The x-value is a string and the y-value is a float. This is probably the reason for the dtype '|S4' you get. And I guess it is also the reason for your graph not showing up, though I don't understand exactly what's happening there.

Christian