Skip to content

Commit e994f13

Browse files
authored
Update doc/python/mapbox-density-heatmaps.md
1 parent 10c5104 commit e994f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/python/mapbox-density-heatmaps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ token = open(".mapbox_token").read() # you will need your own token
104104

105105
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/earthquakes-23k.csv')
106106

107-
fig = px.density_map(df, lat='Latitude', lon='Longitude', z='Magnitude', radius=10,
107+
fig = px.density_mapbox(df, lat='Latitude', lon='Longitude', z='Magnitude', radius=10,
108108
center=dict(lat=0, lon=180), zoom=0,
109109
map_style="stamen-terrain")
110110
fig.update_layout(mapbox_accesstoken=token)

0 commit comments

Comments
 (0)