When I plot an array with masked values, using matplotlib countourf
, the masked values appear white. I want them to appear grey.
I tried the set_bad
method, but it seems countourf
doesn't recognize it (although it recognizes the set_over
and set_under
methods).
Is there any other method I can use with contourf
?
Or will I have to change my code to use imshow
, which understands set_bad
, instead of countourf
?