plotly.js
plotly.js copied to clipboard
Plotly reset axes button not working as expected.
Link to reproduce the issue https://codepen.io/shreeramk/pen/NWOvKva
What I am doing in the codepen example:
- Plotting a graph with date range from 26th to 28th.
- Then updating the xaxis range from 24th to 28th.
- Then zoom in the graph
- Now click on reset axes icon in plotly toolbar.
Expected: Expect the graph to reset to the xaxis range of 24th to 28th
Actual: But it is actually resetting to the old xaxis range of 26th to 28th.
Can someone please take a look into it and suggest how this can be handled to get the expected outcome.
Any update here?
I've noticed Reset Axes seems to behave identically to Autoscale. I dug in and found this feature broke with commit be1d805b4dc993b98fc72f44c49ff44045de001d.