Merge pull request #441 from PyPSA/shapely-geometry-length

build_bus_regions: fix shapely deprecation
This commit is contained in:
Fabian Neumann 2022-11-15 07:58:15 +01:00 committed by GitHub
commit dcd394dd0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ def voronoi_partition_pts(points, outline):
polygons.append(poly)
return np.array(polygons, dtype=object)
return polygons
if __name__ == "__main__":