I am having a hard time setting up an HTML button which will toggle the plot in and out of editable mode. Is this at all possible?
I have parameter {editable: var_boolean} set-up, and a function for onclick the value changes. What’s the Plotly.update, Plotly.relayout, etc. type command needed to change the graph to editable mode, and back off again?
Good point here. Updating config options isn’t well-defined in our API at the moment. My solution is a slight hack. That’s why it never made it in our documentation pages. Maybe we should a top level function (e.g. Plotly.updateConfig) to do just that?
You definitely keep your config settings relatively secret, which are extremely useful. Being able to edit annotations, and zooming around in the graph adds some major mark-up functionality to the library.