Andrew Straw wrote: > Michael Droettboom wrote: >> ...probably because I forgot to attach it. (When will my e-mail >> client read my mind?) I've also attached a version with a new version >> of the layout algorithm -- in addition to making all axes that were >> initially aligned remain aligned, it sets an axes that originally were >> the same size to remain the same size. Better... but aside from it >> theoretically picking up some false positives, it tends to add more >> space than necessary between axes. It probably needs a fourth pass to >> minimize the gaps. > Thanks, got them this time. > > They both look acceptable, the 2nd looks pretty good. I gather it > doesn't require any additional user commands, but just picks up the > desired layout based on the axes bounds (in other words, the same script)?
That's correct. The only change to your script that I made was: hsizer.Add(ax,name='row %d, col %d'%(r,c),all=1,border=0.3,expand=1) to hsizer.Add(ax,name='row %d, col %d'%(r,c),all=1,border=0.0,expand=1) And the very latest version of the transforms branch requires auto layout to be turned on by setting the rcParam "figure.autolayout" to True. (That's just so I can continue to experiment without tripping up others...) There should be more padding between the axes and the tick labels -- that's due to an unrelated bug because the dpi is changing on-the-fly. Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel