Re: [matplotlib-devel] Blitting for animations

2010-10-16 Thread Benjamin Root
On Fri, Oct 15, 2010 at 11:46 PM, Eric Firing wrote: > On 10/15/2010 04:37 PM, Michiel de Hoon wrote: > > Hello, > > > > Recently I tried to get animations to work for the Mac OS X backend with > the new timer framework by implementing a TimerMac class that inherits from > backend_bases.TimerBase

Re: [matplotlib-devel] Blitting for animations

2010-10-16 Thread Michiel de Hoon
OK, thanks. Then it makes sense to implement blitting for the Mac OS X backend as well. Unfortunately I have hit one snag: Drawing in Mac OS X / Quartz should be done from inside the event loop. You cannot take a graphics context and just start drawing to it; the graphics context won't be prope