On Wed, Aug 13, 2008 at 12:40 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Mathieu Leplatre wrote: >> Is there a way to automatically guess margins according to chart content ? > > There is nothing like that built into mpl. It is not an easy thing to > do in general--that is, for an arbitrary set of axes, labels, widgets, etc.
There is a FAQ showing how to do this for tick labels using the bounding boxes of the labels. You could do something similar with the title bounding box http://matplotlib.sourceforge.net/doc/html/faq/howto_faq.html#how-do-i-automatically-make-room-for-my-tick-labels JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users