[Numpy-discussion] NetCDF4/numpy question

Benjamin Root ben.root@ou....
Fri Jan 27 16:46:04 CST 2012


On Fri, Jan 27, 2012 at 4:37 PM, Howard <howard@renci.org> wrote:

> I have found, in using tricontourf, that in the mapping from data values
> to color values, the range of the data seems to include even the data from
> the masked triangles.  This causes the data to be either monochromatic or
> bi-chromatic (the high and low colors in the map).  However, once the
> triangles are masked, if I set the corresponding data values to the known
> dataMin (or in fact, any value in the valid data range) the render proceeds
> correctly.  So in the case of the first piece of code, I get reasonable
> images: using the second I do not.
>
>
>
This sounds like a bug in tricontourf.  It should not be doing that.  If
you could report it to the matplotlib-devel list with an example
demonstrating your problem, I can see to it that it gets resolved.

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120127/91b39ec1/attachment.html 


More information about the NumPy-Discussion mailing list