We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b509b4a commit 8bd4722Copy full SHA for 8bd4722
doc/python/scatter-plots-on-maps.md
@@ -75,10 +75,10 @@ import plotly.express as px
75
import geopandas as gpd
76
77
if gpd.__version__ < '1.0':
78
- geo_df = gpd.read_file(gpd.datasets.get_path('naturalearth_cities'))
+ df = gpd.read_file(gpd.datasets.get_path('naturalearth_cities'))
79
else:
80
import geodatasets
81
- geo_df = gpd.read_file(geodatasets.get_path('naturalearth_cities'))
+ df = gpd.read_file(geodatasets.get_path('naturalearth_cities'))
82
83
px.set_mapbox_access_token(open(".mapbox_token").read())
84
fig = px.scatter_geo(geo_df,
0 commit comments