From: Alejandro W. <ale...@gm...> - 2011-04-05 15:59:53
|
On Mon, Apr 4, 2011 at 6:14 PM, Drew Frank <aj...@ic...> wrote: > This will not address your immediate problem with update_line not > being called, but if you want to animate something over a non-blank > background you will soon run into another issue. I posted here about > that issue a while back: > http://www.mail-archive.com/mat...@li.../msg19104.html > > To aid future web searchers, here is my final reply to that thread, > which I accidentally sent to Benjamin Root rather than to the list: > "The way the cookbook example is written (calling copy_from_background > early), it will always copy a blank, white region -- even if > non-animated elements have been plotted prior to the call. This > caused problems for me because I wanted to animate some patches on the > top of a non-blank background, but calling restore_from_region just > overwrote my background with white." > > Drew Frank I also needed to use Frank's approach (described in the link above) to make my animation works. Is it possible to fix the code in the cookbook? I tried to edit the page but I am not allowed. Alejandro. |