Skip to content

Commit bce8097

Browse files
committed
fix code errors
1 parent 58b3e61 commit bce8097

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/python/hover-text-and-formatting.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ fig = go.Figure(go.Scattermap(
480480

481481
fig.update_layout(
482482
map = {
483-
'accesstoken': token,
484483
'style': "outdoors", 'zoom': 1},
485484
showlegend = False)
486485

doc/python/lines-on-mapbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ for feature, name in zip(geo_df.geometry, geo_df.name):
9292
names = np.append(names, None)
9393

9494
fig = px.line_map(lat=lats, lon=lons, hover_name=names,
95-
map="open-street-map", zoom=1)
95+
map_style="open-street-map", zoom=1)
9696
fig.show()
9797
```
9898

@@ -129,7 +129,7 @@ fig.show()
129129

130130
### Mapbox Maps
131131

132-
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
132+
> Mapbox traces are deprecated and may be removed in a future version of Plotly.py.
133133
134134
The earlier examples using `px.line_map` and `go.Scattermap` use Maplibre for rendering. These traces were introduced in Plotly.py 5.24 and are now the recommended way to draw lines on tile-based maps. There are also traces that use Mapbox: `px.line_mapbox` and `go.Scattermapbox`
135135

0 commit comments

Comments
 (0)