Skip to content

Commit 9773b5f

Browse files
committed
Removed Mapbox-related content from hexbin examples
1 parent 4d8fbc4 commit 9773b5f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

doc/python/hexbin-mapbox.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@ jupyter:
3737

3838
This page details the use of a [figure factory](/python/figure-factories/). For more examples with Choropleth maps, see [this page](/python/choropleth-maps/).
3939

40-
In order to use mapbox styles that require a mapbox token, set the token with `plotly.express`. You can also use styles that do not require a mapbox token. See more information on [this page](/python/mapbox-layers/).
41-
4240
```python
4341
import plotly.figure_factory as ff
4442
import plotly.express as px
4543

46-
px.set_mapbox_access_token(open(".mapbox_token").read())
4744
df = px.data.carshare()
4845

4946
fig = ff.create_hexbin_map(
@@ -60,7 +57,6 @@ fig.show()
6057
import plotly.figure_factory as ff
6158
import plotly.express as px
6259

63-
px.set_mapbox_access_token(open(".mapbox_token").read())
6460
df = px.data.carshare()
6561

6662
fig = ff.create_hexbin_map(
@@ -77,7 +73,6 @@ fig.show()
7773
import plotly.figure_factory as ff
7874
import plotly.express as px
7975

80-
px.set_mapbox_access_token(open(".mapbox_token").read())
8176
df = px.data.carshare()
8277

8378
fig = ff.create_hexbin_map(
@@ -97,7 +92,6 @@ import plotly.figure_factory as ff
9792
import plotly.express as px
9893
import numpy as np
9994

100-
px.set_mapbox_access_token(open(".mapbox_token").read())
10195
df = px.data.carshare()
10296

10397
fig = ff.create_hexbin_map(
@@ -115,7 +109,6 @@ import plotly.figure_factory as ff
115109
import plotly.express as px
116110
import numpy as np
117111

118-
px.set_mapbox_access_token(open(".mapbox_token").read())
119112
df = px.data.carshare()
120113

121114
fig = ff.create_hexbin_map(
@@ -133,7 +126,6 @@ import plotly.figure_factory as ff
133126
import plotly.express as px
134127
import numpy as np
135128

136-
px.set_mapbox_access_token(open(".mapbox_token").read())
137129
np.random.seed(0)
138130

139131
N = 500

0 commit comments

Comments
 (0)