On Jul 21, 2010, at 11:26 PM, John Hunter wrote: > On Wed, Jul 21, 2010 at 10:09 PM, Tony S Yu <tsy...@gmail.com> wrote: >> Wow, I don't see that at all. I'm on OS X, mpl svn HEAD (r8567), and Qt4Agg. >> I don't have GTK installed, so unfortunately, I can't really do a proper >> comparison. Here's the output I get from your modified script. I get >> something similar with TkAgg (unfortunately, I get an AttributeError with >> the macosx backend). > > Works on my system for tkagg and qtagg4, so the bug appears gtkagg > specific. Must be something in the draw vs window realized and sized > pipeline. It appears you are getting some bogus size info. Wonder > if connecting to the draw_event might help here (longshot) or if any > any of Eric's recent work on show is impacting th behavior here.
Well, since I don't have access to GTK, it's not really something I can debug (kind of a cop out, I know). Your original GTK image is really strange: it seems as though the script moves the ticks, axis labels, and titles relative to their associated axes-frame. But the only function I use to affect the plot spacing is Figure.subplots_adjust (everything else in the script serves to calculate appropriate spacing-values). I don't think Figure.subplots_adjust is designed to move the ticks/axis-labels/titles relative to its own axes,.... right? -Tony ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel