Closed
Description
Whenever you use restyle() to update a trace (affecting x or y points) in a zoomed state, plotly keeps track of the zoomed view. Then, whenever you double-click in order to unzoom, it will either unzoom or return to that zoomed state.
If a second restyle() happens in the same conditions, you can never unzoom completly (it switch between the first recorded zoomed state, and the last one).
Here is how to reproduce:
- Zoom wherever you want
- Click on the "Restyle" button in order to update the trace
- Unzoom
- Double-click to switch between global view and zoomed view