Re: [Matplotlib-users] draw after set_data

2010-09-09 Thread Philippe Crave
ot actually get updated. I mean, visually. 2010/9/8 Philippe Crave : > -- Forwarded message -- > From: Eric Firing > Date: 2010/9/8 > Subject: Re: [Matplotlib-users] draw after set_data > To: matplotlib-users@lists.sourceforge.net > > > On 09/07/2010 07:33 PM, P

Re: [Matplotlib-users] draw after set_data

2010-09-08 Thread Eric Firing
On 09/07/2010 07:33 PM, Philippe Crave wrote: > hi, > > sorry to bring this up again. > style haven't found how to draw my plot faster than > self.fig.canvas.draw(), after a set_data() If you need to change the scale of the plot when you update the data, then I don't see any alternative to redoin

Re: [Matplotlib-users] draw after set_data

2010-09-07 Thread Philippe Crave
hi, sorry to bring this up again. style haven't found how to draw my plot faster than self.fig.canvas.draw(), after a set_data() thanks 2010/9/1 Philippe Crave : > Hi, > > I use qt4 backend. > I update some lines doing something like that: > >   def draw_curves(self, datas, x): >       for y in

[Matplotlib-users] draw after set_data

2010-09-01 Thread Philippe Crave
Hi, I use qt4 backend. I update some lines doing something like that: def draw_curves(self, datas, x): for y in datas: self.lines[i].set_data(x, y) min_y, max_y = self.min_max(y) self.ax[i].axis((0, x[-1], min_y, max_y)) #self.ax[i].draw_artis