I would like to create a map where I can assign a brownish color to the areas inside the black contour lines (land). But, I also want to display another layer (the colored one on the figure below) on top of it. The issue is that this additionnal layer has NaNs covering the land and the sea, making all the background look blue.
How can I differentiate the colour of the sea and the land, while having this additionnal layer we see below ?
I thought of one way: I could make all the NaNs from this layer be transparent, so the background land would reappeare. But I don't know how to do that.
Maybe there is another solution but I can't think of any.
Thank you !