Attached is a modified version of Tony's script. * no drawing is necessary * support subplots that span multiple rows/columns
Please test it and let me know of any problem. I'm planning to push these functionality into matplolib after some refactoring (e.g., it would be good to have pyplot.tight_layout). Regards, -JJ On Wed, May 11, 2011 at 8:50 PM, Daniel Mader <danielstefanma...@googlemail.com> wrote: > Hi again, > >>> Hi Jae-Loon, >>> >>> thanks for your comments! Of course I do agree that a figure layout >>> should not change in interactive mode. However, I don't see why this >>> should happen upon a panning action. A different case is when the >>> label or title font sizes are changed, but I was assuming this is >>> adjusted prior to the creation of the figure. >>> >> >> Since you said the current design is broken, I thought you want things >> adjusted *whenever* a figure is updated. >> >> So, I guess what you want is some functionality like what Tony's script does? >> One of the reason that I was not very inclined to Tony's approach is >> that it only works for subplots (and I guess it only works with >> subplots with pure n x m grid. Correct me if I'm wrong). But maybe it >> is better than nothing. I'll consider how things can be improved. > > I do sense a match of ideas here :) This is exactly what I am missing! > It is very good to hear that you are so open to suggestions and > possible improvements! > > It is a great pleasure to work with Scipy/Matplotlib and interact with > the community! > > Best regards, > Daniel >
tight_layout.py
Description: Binary data
------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users