Skip to content

Commit

Permalink
fix deprecation warning: index_parts=True
Browse files Browse the repository at this point in the history
  • Loading branch information
Huite committed Feb 2, 2024
1 parent 3a09739 commit 2f409e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ unstructured meshes.
south_america = pm.data.south_america()
# Explode any multi-polygon, and project it to UTM20.
south_america = south_america.explode().reset_index().to_crs(epsg=32620)
south_america = south_america.explode(index_parts=True).reset_index().to_crs(epsg=32620)
# Set a maximum cell size of 500 km and generate a mesh.
south_america["cellsize"] = 500_000.0
Expand Down

0 comments on commit 2f409e5

Please sign in to comment.