From c56eb8b19c3a23ea883a0393e63b940d33fb5aa2 Mon Sep 17 00:00:00 2001 From: Nicolas Colombi <115944312+NicolasColombi@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:10:09 +0100 Subject: [PATCH] Update centr.py Update docstrings to clarify the type of argument of union and append --- climada/hazard/centroids/centr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/climada/hazard/centroids/centr.py b/climada/hazard/centroids/centr.py index 4cb6e86df..8a90f8509 100644 --- a/climada/hazard/centroids/centr.py +++ b/climada/hazard/centroids/centr.py @@ -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 ------ @@ -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 -------