[Matplotlib-users] Using the pylab figure system programmatically

2008-05-04 Thread G Jones
Hello, I did some quick tests of using pylab.figure() to create a figure window, and then accessing the canvas to do blitted animation, which is working well. I also reimplemented the resizeEvent handler to update the region to be blitted. However, I have one major problem, that when I click the X

[Matplotlib-users] when to call copy_from_bbox

2008-05-04 Thread G Jones
Hello, I am again working on an application with animated plots using the blitting method. I am using the Qt4 backend, but I had similar trouble with the wx backend. The trouble is when I first get the bbox of the plot to copy the background region, the bbox is incorrect, so the wrong region is use