In a contour map I can give the size parameter (https://plot.ly/python/reference/#contour-contours-size) to specify the step between each contour level. Is there any equivalent in a heatmap?
I can give the size parameter (Single-page reference in Python) to specify the step between each contour level. Is there any equivalent in a heatmap?
Not at the moment unfortunately.
To be frank, I’m not sure how that would work. You want to map a range of z
value to a given color a discrete map? Instead of the current continuous map.
As a work-around, you can try plotting multiple single-color heatmap traces similar to this choropleth (notice the colorscale definitions).
I described what I am trying to do in more detail on SO with images and my use case. Please see: http://stackoverflow.com/questions/42700175/size-parameter-in-plotly-heatmap