I have a Plotly.js chart. I can successfully zoom (by click-drag) and un-zoom (by double-click).
Is it possible to un-zoom programatically? I have tried calling newPlot and update without success.
I have a Plotly.js chart. I can successfully zoom (by click-drag) and un-zoom (by double-click).
Is it possible to un-zoom programatically? I have tried calling newPlot and update without success.
How about doing
Plotly.relayout( figure, {
‘xaxis.autorange’: true,
‘yaxis.autorange’: true
});
Add this to a input key or keyboard event.