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 -----
Sent: Wed, 20 Oct 2010 09:03:36 -0500
From: John Hunter <jdh2...@gmail.com>
To: g.plantagen...@runbox.com
Subject: Re: [matplotlib-devel] Bug (?) in fill_between

> On Wed, Oct 20, 2010 at 8:43 AM, Giovanni Plantageneto
> <g.plantagen...@runbox.com> 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 that gives the wrong result, the workaround I use, and 
> > their output.
> 
> 
> Can you post a complete free-standing example that replicates the problem?

----- End Original Message -----
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to