plotly.express.set_mapbox_access_token

plotly.express.set_mapbox_access_token(token)
Parameters

token – A Mapbox token to be used in plotly.express.scatter_mapbox and plotly.express.line_mapbox figures. See https://docs.mapbox.com/help/how-mapbox-works/access-tokens/ for more details