|
From: Michiel de H. <mjl...@ya...> - 2013-04-12 00:22:37
|
Hi Clare, Which backend are you using, and can you show an example script? The blitting functions are a bit unusual as they try to draw stuff to the figure outside of the event loop. This is e.g. causing problems with animations, which makes use of the blitting functions. We have been looking at that recently (see https://github.com/matplotlib/matplotlib/issues/531) but we haven't come up with a solution yet. Solving this issue may also fix your problem (which sounds like an event loop problem), so you may want to follow issue 531. Best, -Michiel. --- On Thu, 4/11/13, Clare Soh <cla...@gm...> wrote: From: Clare Soh <cla...@gm...> Subject: [Matplotlib-users] Pan/Zoom can't work with blitting To: "mat...@li..." <mat...@li...> Date: Thursday, April 11, 2013, 5:19 AM Hi, To improve plotting speed, I decided to use blitting(canvas.copy_from_bbox(), canvas.restore_region() & canvas.blit()) instead of canvas.draw(), however panning & zooming stops working after this change. Now, when I click on the 'Pan/Zoom' button or the 'Zoom to rectangle' button on the Navigation Toolbar, my plot becomes empty. I don't know what's going wrong, can someone please point me in the right direction? Thank you, Clare. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -----Inline Attachment Follows----- _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |