From: John H. <jd...@gm...> - 2009-04-29 16:03:50
|
On Wed, Apr 29, 2009 at 10:56 AM, Michael Droettboom <md...@st...>wrote: > I don't believe fill_between directly supports missing values -- but it > does have the where parameter for this purpose. > > We could also be smarter about how "where" is generated when none is > provided: > > if where is None: > where = (~np.ma.getmaskarray(x) & ~np.ma.getmaskarray(y1) & > ~np.ma.getmaskarray(y2)) > > ...but I'd like more feedback from the author or users of fill_between > before committing that change. (That, and Eric Firing can probably find > a much more efficient way to do the masked array manipulation... ;) I'm working on a patch for this now....but I would also like Eric to take a look when I am done since I am a masked array dummy JDH |