Skip to content

Commit 3c5a0ba

Browse files
Fix geopandas warning
1 parent d9d0478 commit 3c5a0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gallery/maps/choropleth_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# Next, we plot the polygons and fill them using the defined colormap. The target column
3434
# is defined by the aspatial parameter.
3535
fig.plot(
36-
data=world[world["CONTINENT"] == "Africa"],
36+
data=world[world["CONTINENT"] == "Africa"].copy(),
3737
pen="1p,gray50",
3838
fill="+z",
3939
cmap=True,

0 commit comments

Comments
 (0)