Hi @Juanouo I think you can use the method described in this post: transform the nans to a numerical value outside of your value range and define a custom colorscale with a specific color (for example gray) for the values which used to be nan. Please see also the tutorial on colorscales to see how to define a custom colorscale.