Matplotlib-users digest, Vol 1 #521 - 2 msgs

I ran the script with GTKCairo and it looks fine to me.

Perhaps you are using GTKAgg which looks like it has the problem. My
guess is that its caused by using gtk.idle_add() which results in
asynchronous expose_event updates.

Steve

···

On Mon, 2005-03-14 at 22:38 -0800, matplotlib-users- request@lists.sourceforge.net wrote:

> I am unable to get matplotlib animations to work properly. Some of the data from
> the previous frame is getting included.
>
> I have included some example code that shows this. When draw() is called in the
> loop, it draws the data from the previous frame for y<0.15 (ca), and from the
> current frame for larger y. The final show() does *not* lag even if set_ydata
> has not been called since the last draw().
>
> This is with version 0.72. Any ideas about what is happening?