Re: [matplotlib-devel] Bug (?) in fill_between

2010-10-20 Thread John Hunter
On Wed, Oct 20, 2010 at 8:43 AM, Giovanni Plantageneto wrote: > Hi, > > I think I found a bug in the command fill_between(). > If I try to make a fill_between plot on an x-axis that spans both negative > and positive values (and only in that case), I have some funny results. > I attach the code t

Re: [matplotlib-devel] Bug (?) in fill_between

2010-10-20 Thread Giovanni Plantageneto
I checked the data (I can't send it, sorry), and it seems that the problem is given by the presence of not-a-numbers in the array. In the workaraound version, the nan are at the end, and that solves the problem. Shouldn't fill_between get rid of the nans? - Start Original Message - Sen

[matplotlib-devel] Figure legend position mismatch on screen and PDF

2010-10-20 Thread Gökhan Sever
Hello, Please see the screenshot at http://img225.imageshack.us/img225/1052/legendposition.png Although the visible difference is minor, I get slightly shifted legend positions on screen (and saving as png) and in pdf file. This required me to make manual adjustments (change axes vertical distanc