On Fri, May 28, 2010 at 1:37 PM, Pearu Peterson <pe...@cens.ioc.ee> wrote:

> While the new data is plotted correctly, the plot shows fixed axes
> from the first plot call. What I am doing wrong?

ax.relim() causes the data limits to be updated based on the current
objects it contains, ax.autoscale_view() causes the view limits to be
updated based on the data limits, and fig.canvas.draw() forces a
redraw.

JDH

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to