Hi John and Jae-Joon, While it hardly solves *all* of the issues I've been having it does work for this problem:) Thanks a ton. As for committing it to the repository I'd be honored if Jae Joon agrees. Should I clean it up and remove the debugging prints?
Elan ---- "If stupidity got us into this mess, why can't it get us out?" - Will Rogers On Sat, 9 May 2009, John Hunter wrote: > On Sat, May 9, 2009 at 12:08 PM, Jae-Joon Lee <lee.j.j...@gmail.com> 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 frame.Show() and this seems to cause a >> mismatching bbox. >> >> My modified example is also not perfect. A new background image needs >> to be saved whenever ax.bbox changes (e.g. when resizing canvas). > > probably best way to do this is to connect to the draw_event, and > update the background on the draw_event. I've updated the example and > attached it -- do you mind if I commit it to the mpl examples dir (and > does this solve all the issues you are having)? > > JDH > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel