[matplotlib-devel] Bug with restore_background when mpl is embedded in wxpython

2009-05-09 Thread Elan Pavlov
Hi, Restore_region does not appear to work when embedding mpl into wxpython. Attached is a simple modification of the cookbook animation (http://www.scipy.org/Cookbook/Matplotlib/Animations) to illustrate this problem. I modified the example so it is updated on mouse movements (followed by idle tim

[matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-09 Thread Freddie Witherden
Hi all, As some of you probably know I am working on the GSoC project to externalise the Mathtex engine from Matplotlib. Today I have been toying around with the renderer using various backends. One of the interesting things that I discovered was that the Cairo backend was making use of sub

Re: [matplotlib-devel] Bug with restore_background when mpl is embedded in wxpython

2009-05-09 Thread Jae-Joon Lee
Here is a slightly modified version of your script which works for me. I don't think this is the bug in mpl. Note that the ax.bbox does change if the canvas size change. In your original script, the copy_from_bbox is called before frame.Show() and this seems to cause a mismatching bbox. My modifi

Re: [matplotlib-devel] Bug with restore_background when mpl is embedded in wxpython

2009-05-09 Thread John Hunter
On Sat, May 9, 2009 at 12:08 PM, Jae-Joon Lee wrote: > Here is a slightly modified version of your script which works for me. > > I don't think this is the bug in mpl. Note that the ax.bbox does > change if the canvas size change. In your original script, the > copy_from_bbox is called before fram

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-09 Thread Eric Firing
John Hunter wrote: > On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden > wrote: >> Hi all, >> >> As some of you probably know I am working on the GSoC project to >> externalise the Mathtex engine from Matplotlib. Today I have been >> toying around with the renderer using various backends. >> >> O

Re: [matplotlib-devel] Cairo Backend and Subpixel Rendering

2009-05-09 Thread John Hunter
On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden wrote: > Hi all, > > As some of you probably know I am working on the GSoC project to > externalise the Mathtex engine from Matplotlib. Today I have been > toying around with the renderer using various backends. > > One of the interesting things th

Re: [matplotlib-devel] Bug with restore_background when mpl is embedded in wxpython

2009-05-09 Thread Jae-Joon Lee
On Sat, May 9, 2009 at 7:05 PM, Elan Pavlov wrote: > As for committing it to the repository I'd be honored if Jae Joon agrees. Sure, -JJ -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your produc