Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-26 Thread Lorenzo Isella
Thanks. This indeed improves the situation (and your suggestions about a for loop is appreciated). I am surprised at the fact that I have been able to generate such a plot via scripting only (well, with a lot of help from the list) by browsing the online examples and with my limited knowledge

Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-26 Thread Jae-Joon Lee
the bbox_inches option does not work well for your case since the axes frame (although not visible) occupy much larger area than your plot elements. Make axis limits more tighter, then try to use bbox_inches option (with this, you don't need to fiddle with subplot params). Here is my try.

[Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-25 Thread Lorenzo Isella
Dear All, I am aware that this question has already been asked several times on the mailing list, see e.g. http://bit.ly/aPzQTA However, in the following snippet, nothing I tried has been able to reduce the amount of white space around the figure (including toying around with ax =

Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-25 Thread Benjamin Root
On Mon, Oct 25, 2010 at 11:56 AM, Lorenzo Isella lorenzo.ise...@gmail.comwrote: Dear All, I am aware that this question has already been asked several times on the mailing list, see e.g. http://bit.ly/aPzQTA However, in the following snippet, nothing I tried has been able to reduce the

Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-25 Thread Lorenzo Isella
On 10/25/2010 11:36 PM, Benjamin Root wrote: , bbox_inches='tight' Hi, And thanks for your suggestion. The improvement (if any) if unfortunately rather modest. I'd like to hear about the other tricks. Cheers Lorenzo

Re: [Matplotlib-users] How to Reduce White Space Around Figure?

2010-10-25 Thread Tony S Yu
On Oct 25, 2010, at 12:56 PM, Lorenzo Isella wrote: Dear All, I am aware that this question has already been asked several times on the mailing list, see e.g. http://bit.ly/aPzQTA However, in the following snippet, nothing I tried has been able to reduce the amount of white space