Re: [Matplotlib-users] Problem using set_data

2008-06-25 Thread eShopping
lun, > >On Wednesday 25 June 2008 07:09:52 am eShopping wrote: > > Hi > > > > the following code snippet is from a simple wxpython/matplotlib app > > > > # Data object class > > > > class PlotData(object): > > > > # Con

[Matplotlib-users] Problem using set_data

2008-06-25 Thread eShopping
Hi the following code snippet is from a simple wxpython/matplotlib app # Data object class class PlotData(object): # Constructor (dummy arrays) def __init__(self): self.np = 100 self.xa = numpy.arange(100.0) self.ya = 2.0 * self.xa self.ys = 4.0 *