Re: [Matplotlib-users] How to blank an area of the canvas?

2010-02-16 Thread Brendan Barnwell
Jae-Joon Lee wrote: I have added a bbox support for restore_region, but I'm afraid that this feature is not well tested. And I guess what you find is, unfortunately, a bug. While I'll try to push the changes to the svn tomorrow, you may try to monkey-patch with following code. snip

Re: [Matplotlib-users] How to blank an area of the canvas?

2010-02-14 Thread Brendan Barnwell
Brendan Barnwell wrote: I'm trying to find the quickest way to erase a rectangular area of the figure canvas. I tried using canvas.restore_region with the optional bbox argument, but there seems to be some mismatch between the measurement units of the saved buffer object and the

Re: [Matplotlib-users] How to blank an area of the canvas?

2010-02-14 Thread Jae-Joon Lee
I have added a bbox support for restore_region, but I'm afraid that this feature is not well tested. And I guess what you find is, unfortunately, a bug. While I'll try to push the changes to the svn tomorrow, you may try to monkey-patch with following code. from matplotlib.transforms import

[Matplotlib-users] How to blank an area of the canvas?

2010-02-12 Thread Brendan Barnwell
I'm trying to find the quickest way to erase a rectangular area of the figure canvas. I tried using canvas.restore_region with the optional bbox argument, but there seems to be some mismatch between the measurement units of the saved buffer object and the currently shown data. For