-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
In https://plotly.com/python/tile-scatter-maps/#basic-example-with-geopandas, the example:
import plotly.express as px
import geopandas as gpd
geo_df = gpd.read_file(gpd.datasets.get_path("naturalearth_cities"))
fig = px.scatter_map(
geo_df,
lat=geo_df.geometry.y,
lon=geo_df.geometry.x,
hover_name="name",
)
fig.show()
Gives:
AttributeError: The geopandas.dataset has been deprecated and was removed in GeoPandas 1.0. You can get the original 'naturalearth_cities' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.
I assume we pin an old geopandas but it would need to be updated to work with the latest
Metadata
Metadata
Assignees
Labels
No labels