From b1c4c4009eefdfa7fd18f22f82078f506342462d Mon Sep 17 00:00:00 2001 From: Alexander Held <45009355+alexander-held@users.noreply.github.com> Date: Fri, 16 Jun 2023 10:24:02 +0200 Subject: [PATCH] docs: fix return value type in docstring (#411) * fix return value type in docstring of visualize._total_yield_uncertainty --- src/cabinetry/visualize/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cabinetry/visualize/__init__.py b/src/cabinetry/visualize/__init__.py index 91e40fbd..48151cc3 100644 --- a/src/cabinetry/visualize/__init__.py +++ b/src/cabinetry/visualize/__init__.py @@ -44,7 +44,7 @@ def _total_yield_uncertainty(stdev_list: List[np.ndarray]) -> np.ndarray: stdev_list (List[np.ndarray]): list of absolute stat. uncertainty per sample Returns: - np.array: absolute stat. uncertainty of stack of samples + np.ndarray: absolute stat. uncertainty of stack of samples """ tot_unc = np.sqrt(np.sum(np.power(np.asarray(stdev_list), 2), axis=0)) return tot_unc