Matplotlib & Julia : Pcolormesh and mask




I have a 2d matrix with values that I currently plot doing something like
axis[:pcolormesh](A', vmin=minimum(A[:]), vmax=0, edgecolor="white")
But some values in A are non-relevant and I’d like to give them a white color (or transparent).
I know that in python we would use a mask ; how can I achieve that in Julia ?
I found this answer but I don’t know how to apply it to a case with multiple possible values.

Thanks a lot


See this issue on how to create a NumPy array with a “mask” from Julia: