Skip to content

Commit c56eb8b

Browse files
Update centr.py
Update docstrings to clarify the type of argument of union and append
1 parent b0003f3 commit c56eb8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

climada/hazard/centroids/centr.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ def append(self, *centr):
344344
345345
Parameters
346346
----------
347-
centr : list
348-
List of Centroids to append. The centroids need to have the same CRS.
347+
centr : Centroids
348+
Centroids to append. The centroids need to have the same CRS.
349349
350350
Raises
351351
------
@@ -374,8 +374,8 @@ def union(self, *others):
374374
375375
Parameters
376376
----------
377-
others : list
378-
List of Centroids contributing to the union.
377+
others : Centroids
378+
Centroids contributing to the union.
379379
380380
Returns
381381
-------

0 commit comments

Comments
 (0)