White NaNs with pcolor (matplotlib)

route6 at ouvaton.org route6 at ouvaton.org
Wed May 20 07:40:08 EDT 2009


Hi,

I am trying to display the NaNs in white color when I plot a data map
using pcolor with matplotlib. Does anyone know how to do that? By
default the NaNs are displayed in the color corresponding to the
lowest value in the colorbar.

Thanks,
C



More information about the Python-list mailing list