I am working on an application that shows a heatmap with a colorbar with plotly.js library, as follows:
I have set in the configuration editable:true. That allows to change the xaxis and yaxis limits, title and labels of the heatmap. However, it does not allow to change the limits of the colorbar.
Looking into plotly reference, I know they can be changed by setting the values of zmax, zmid and zmin (https://plotly.com/javascript/reference/heatmap/). However, I was looking for a more interactive way of doing this with the editable feature, just as it can be done for the xaxis and yaxis.
Does anyone knows a way of doing this? Thank you in advance.
2.1m questions
2.1m answers
60 comments
57.0k users