Is there a way to automatically guess margins according to chart content ?

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

Reply via email to