I am using below to plot contour, I’d like to set color the white(not shown) if value is outside contour range like below z_min. For my plot, everything below z_min is still same color of blue color as zmin. I saw it is working from the below website example after setting start=, end= inside contour=dict(). Thanks for your help.
https://plotly.com/python/contour-plots/
fig.add_trace(go.Contour(
# last column, either pressure or temperature
z = Z.T,
x = X[:,0],
y = Y[0],
colorscale='Jet',
contours=dict(
start=z_min,
end=z_max,
size=25,
coloring="heatmap"),
zmin=z_min,
zmax=z_max
)
)
