Variable Colorbar

Hi all,

Need some advice on how to adjust the colorbar of a plot AFTER the code has been written and uploaded to an HTML file.

For example, take the “mountain” surface plot in the Plotly Graphing Library below:

Code found here --> (https://plotly.com/python/custom-buttons/)

Is there a button, slider, dropdown menu, or line-item entry that can be added to adjust the color bar axis?

Specifically, it would be amazing to find-out how to type in a value on the plot to adjust the min and max of the colorbar scale, but the other ways work too.

An example of a manual entry can be found here in the Plotly library for the “airline” entry (https://plotly.com/python/figurewidget-app/).

I’m using version 4.8.2.