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
When a map subplot uses fitbounds, layout.uirevision fails to preserve the user's subsequent pan/zoom across Plotly.react calls. The map snaps back to the auto-fit view even when the uirevision value is unchanged.
Screenshots/Video
Screencast.From.2026-07-15.17-06-21.mp4
Steps to reproduce
Be on v4.0 (or the default branch after it gets released)
Plot a scattermap with uirevision set and no explicit center/zoom:
This works correctly for cartesian axes (via autorange) and for map subplots when the user has supplied an explicit center/zoom from the start. It only fails on the auto-fit path.
Description
When a
mapsubplot usesfitbounds,layout.uirevisionfails to preserve the user's subsequent pan/zoom acrossPlotly.reactcalls. The map snaps back to the auto-fit view even when theuirevisionvalue is unchanged.Screenshots/Video
Screencast.From.2026-07-15.17-06-21.mp4
Steps to reproduce
scattermapwithuirevisionset and no explicitcenter/zoom:Plotly.reactwith the sameuirevision:Notes
autorange) and for map subplots when the user has supplied an explicitcenter/zoomfrom the start. It only fails on the auto-fit path.