[Numpy-discussion] NetCDF4/numpy question

Benjamin Root ben.root at ou.edu
Fri Jan 27 17:46:04 EST 2012

On Fri, Jan 27, 2012 at 4:37 PM, Howard <howard at 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.python.org/pipermail/numpy-discussion/attachments/20120127/91b39ec1/attachment.html>

More information about the NumPy-Discussion mailing list