|
From: Eric F. <ef...@ha...> - 2012-02-10 18:29:29
|
On 02/10/2012 07:23 AM, Andreas H. wrote: > Thanks Jeff! > > I really should have looked at the docs more carefully. > >>> I suppose pcolor could be modified to fill the masked polygons with the >>> color indicated by cmap.set_bad - I think that's what most people would >>> expect. > > Yes, I definitely second this. It would produce more expected results. I agree. I think the reason it doesn't at present is that support for bad values and out-of-range values in color maps was added after the masked-array support was added to pcolor. Ben is correct, though, that this change in long-standing behavior could break existing user code. Eric > > Cheers, > Andreas. |