Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24763dc

Browse files
lines from geopandas
1 parent e45874d commit 24763dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python/lines-on-mapbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ for feature, name in zip(geo_df.geometry, geo_df.name):
9494
lons = np.append(lons, None)
9595
names = np.append(names, None)
9696

97-
fig = px.line_mapbox(lat=lats, lon=lons, hover_name=names,
98-
mapbox_style="stamen-terrain", zoom=0)
97+
fig = px.line_mapbox(lat=lats, lon=lons, hover_name=names,
98+
mapbox_style="stamen-terrain", zoom=1)
9999
fig.show()
100100
```
101101

0 commit comments

Comments
 (0)