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.

Eric

> 
> Like, in this small example :
> 
> import pylab
> fig = pylab.figure()
> pylab.plot([1,2,3])
> pylab.title('Big One', fontsize=72)
> 
> topmargin = 0.2 # Auto ?
> 
> fig.subplots_adjust(top=1.0-topmargin)
> pylab.show()
> 
> -------------------------------------------------------------------------
> 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


-------------------------------------------------------------------------
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

Reply via email to