Skip to content

Commit

Permalink
Update centr.py
Browse files Browse the repository at this point in the history
Update docstrings to clarify the type of argument of union and append
  • Loading branch information
NicolasColombi authored Dec 23, 2024
1 parent b0003f3 commit c56eb8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions climada/hazard/centroids/centr.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ def append(self, *centr):
Parameters
----------
centr : list
List of Centroids to append. The centroids need to have the same CRS.
centr : Centroids
Centroids to append. The centroids need to have the same CRS.
Raises
------
Expand Down Expand Up @@ -374,8 +374,8 @@ def union(self, *others):
Parameters
----------
others : list
List of Centroids contributing to the union.
others : Centroids
Centroids contributing to the union.
Returns
-------
Expand Down

0 comments on commit c56eb8b

Please sign in to comment.