> Another approach is to use the subplotpars kwarg to adjust
> the positioning parameters when initializing the figure.
Here's how I like to implement that approach when I want strict dimensions:
figW = 6.5 # in inches
figH = 7
fig = figure(figsize=(figW, figH),
subplotpars=mpl.figure.SubplotParams(
left= (48 / 72.0) / figW, # 48-point left margin
bottom= (36 / 72.0) / figH, # etc.
right= 1 - (18 / 72.0) / figW,
top= 1 - (12 / 72.0) / figH))
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users