From: Andres L. <and...@ut...> - 2009-04-30 15:19:53
|
John, that's exactly what I wanted, thanks. Andres John Hunter wrote: > > > On Wed, Apr 29, 2009 at 10:54 AM, John Hunter <jd...@gm... > <mailto:jd...@gm...>> wrote: > > > > fill_between does not currently support masked arrays, but I think > we could easily extend it to support the mask using the existing > support for the "where" kwarg. For now, does this behave like you > expect? > > valid = ~(edatmax.mask & edatmax.mask ) > > pylab.fill_between(xtelg,edatmax,edatmin,facecolor='green',alpha='0.3', > where=valid) > > > > Oops -- meant > > valid = ~(edatmin.mask & edatmax.mask ) > > JDH > |