Re: [Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
On Jan 12, 2012, at 10:18 AM, Benjamin Root wrote: > fig.savefig('foobar.png", bbox_inches='tight', pad_inches=0.25, > bbox_extra_artists=[leg]) [...] > In mpl v1.1.0, we introduced a function called "tight_layout" which should > help with such things. Admittedly, it would be nice if tight_l

Re: [Matplotlib-users] Figure area size questions

2012-01-12 Thread Benjamin Root
On Thu, Jan 12, 2012 at 12:09 PM, Christophe Pettus wrote: > My apologies for two totally noob questions, but I can't quite seem to > find these in the docs; a pointer would be great... > > No problem. That is what we are here for. > 1. I would like to position a legend outside of the main plot

[Matplotlib-users] Figure area size questions

2012-01-12 Thread Christophe Pettus
My apologies for two totally noob questions, but I can't quite seem to find these in the docs; a pointer would be great... 1. I would like to position a legend outside of the main plot area. The positioning part works great, but the legend is clipped to the pre-existing figure dimensions; how