You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
Codepen: http://codepen.io/etpinard/pen/eZvKag
The text was updated successfully, but these errors were encountered: