plotly.py icon indicating copy to clipboard operation
plotly.py copied to clipboard

Map boundaries are not showing

Open mgorjis opened this issue 2 years ago • 2 comments

I opened the documentation, and for this page, I don't see the map boundaries. I also tried with multiple browsers

https://plotly.com/python/lines-on-mapbox/#lines-on-mapbox-maps-using-plotly-express

running the code in python also has the same issue

image

mgorjis avatar Dec 04 '23 17:12 mgorjis

I think this is stamen's fault. I tried all mapbox_style provided in the documentation: https://plotly.com/python-api-reference/generated/plotly.express.line_mapbox

and all worked except for stamen sources

image

erwanmq avatar Dec 06 '23 08:12 erwanmq

Right, Stamen put their maps behind a paywall - we've added support for this in plotly.js v2.27.1 but @LiamConnors I suppose we'll want to update the docs to only use non-Stamen/Stadia maps?

alexcjohnson avatar Dec 07 '23 00:12 alexcjohnson

This feature was included in the latest Plotly.py release, 5.19. The docs now show examples of using a token for the stamen styles https://plotly.com/python/mapbox-density-heatmaps/#stamen-terrain-base-map-stadia-maps-token-needed-density-mapbox-with-plotlyexpress

Thanks for opening this issue @mgorjis

LiamConnors avatar Feb 28 '24 15:02 LiamConnors