[Matplotlib-users] Getting tight layout to recognize the second axis via twinx()

2012-08-29 Thread Jeffrey Spencer
For example running this code and then fig.tight_layout(). The second axis isn't recognized. Is there a way to add it to the tight_layout spec or a better method. out = ones(200) fign = 52 h, w = freqz(out) fig = figure(fign) semilogy(h,abs(w)/abs(max(w)), 'b', label='Mag') ylim(0.01,1.2)

Re: [Matplotlib-users] Getting tight layout to recognize the second axis via twinx()

2012-08-29 Thread Eric Firing
On 2012/08/28 9:11 PM, Jeffrey Spencer wrote: For example running this code and then fig.tight_layout(). The second axis isn't recognized. Is there a way to add it to the tight_layout spec or a better method. This is a bug, or rather one of the ways in which tight_layout is limited. twinx and

Re: [Matplotlib-users] Getting tight layout to recognize the second axis via twinx()

2012-08-29 Thread Jeffrey Spencer
Thanks, sounds good just wanted to know if possible now. I will use something else. Cheers On Aug 29, 2012 5:53 PM, Eric Firing efir...@hawaii.edu wrote: On 2012/08/28 9:11 PM, Jeffrey Spencer wrote: For example running this code and then fig.tight_layout(). The second axis isn't

Re: [Matplotlib-users] Getting tight layout to recognize the second axis via twinx()

2012-08-29 Thread Jae-Joon Lee
On Wed, Aug 29, 2012 at 4:52 PM, Eric Firing efir...@hawaii.edu wrote: twinx and twiny probably will need to return SubplotBase instances if their parent is a SubplotBase instance. My take on this. https://github.com/matplotlib/matplotlib/pull/1169 And, tight_layout seem to work okay with

[Matplotlib-users] Store figures as matlab files

2012-08-29 Thread Nils Wagner
Hi all, is it possible to store figures generated with matplotlib as Matlab files ? Cheers, Nils -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and

Re: [Matplotlib-users] Store figures as matlab files

2012-08-29 Thread Benjamin Root
On Wed, Aug 29, 2012 at 2:11 PM, Nils Wagner nils...@googlemail.com wrote: Hi all, is it possible to store figures generated with matplotlib as Matlab files ? Cheers, Nils This is an often repeated question, and the last time I remember it being asked, someone pointed out

Re: [Matplotlib-users] strange behaviour with fill_between

2012-08-29 Thread Eric Firing
On 2012/08/27 5:10 AM, Francesco Montesano wrote: Dear matplotlibers, I encountered a bug (?) in fill_between when using logarithmic scales and the last part of y and yerr arrays as set to zero: a diagonal stripe going from the rightmost non zero value to the first value is drawn. It's

Re: [Matplotlib-users] [matplotlib-devel] A sad day for our community. John Hunter: 1968-2012.

2012-08-29 Thread Fernando Perez
On Wed, Aug 29, 2012 at 8:42 PM, Jim Benson jben...@nofs.navy.mil wrote: My apologies also for replying to the lists (double post), but the above web address did not work for me under Safari Version 5.1.7 (6534.57.2) (there was only one other post when i tried to post). I only got a Please