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
But if you uncomment the mapbox section and change go.Scatter to go.Scattermapbox it will always add the annotation to the center of the view and is stagnant even when you move the map.
This is more of a known scope limitation/feature-request than a bug... layout.annotations only work in paper or 2d-cartesian coordinates today. We would need to add something like mapxbox1 to the possible accepted values of xref and yref to make this work, and it would need to be deeply integrated into our Mapbox code, which is a bit of a project :)
nicolaskruchten
changed the title
[BUG] annotations for mapbox layout does not move when panning the map
annotations for mapbox subplots
Sep 14, 2020
Very well its a feature not a bug. Where is the upvote button? How many years does the python community need to wait for an easy to use python library to be able to easily draw on a map? Plotly is our best shot. And annotations are essential!
When it is regular layout it works (see code below).
But if you uncomment the
mapbox
section and changego.Scatter
togo.Scattermapbox
it will always add the annotation to the center of the view and is stagnant even when you move the map.pip list | grep dash
belowExpected behavior
Mapbox annotations act the same as for regular layouts.
The text was updated successfully, but these errors were encountered: