Merge pull request #441 from PyPSA/shapely-geometry-length
build_bus_regions: fix shapely deprecation
This commit is contained in:
commit
dcd394dd0a
@ -107,7 +107,7 @@ def voronoi_partition_pts(points, outline):
|
|||||||
|
|
||||||
polygons.append(poly)
|
polygons.append(poly)
|
||||||
|
|
||||||
return np.array(polygons, dtype=object)
|
return polygons
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user