Re: [Matplotlib-users] hoe to update a plot

2010-02-23 Thread Mathew Yeates
This looks correct. I went and look at the animation examples and they do something similar. Thx -- Forwarded message -- From: Stephen George Date: Tue, Feb 23, 2010 at 6:28 PM Subject: Re: [Matplotlib-users] hoe to update a plot To: Matplotlib Users C M wrote: > On Tue,

Re: [Matplotlib-users] hoe to update a plot

2010-02-23 Thread Stephen George
C M wrote: > On Tue, Feb 23, 2010 at 7:00 PM, Mathew Yeates wrote: > >> Hi >> I am using gtk and displaying a plot in a FigureCanvas. In response to an >> event, I want to update the plot with new data. >> >> e.g. >> self.fig = Figure(figsize=(5,5), dpi=100) >> self.ax = fig.add_subplot(111) >>

Re: [Matplotlib-users] hoe to update a plot

2010-02-23 Thread C M
On Tue, Feb 23, 2010 at 7:00 PM, Mathew Yeates wrote: > Hi > I am using gtk and displaying a plot in a FigureCanvas. In response to an > event, I want to update the plot with new data. > > e.g. > self.fig = Figure(figsize=(5,5), dpi=100) > self.ax = fig.add_subplot(111) > ax.plot(data[0,0:,0], > >