From dfea9752c2e7e944d80e2951accd6b4c93f8fd49 Mon Sep 17 00:00:00 2001 From: Martin Vonk Date: Mon, 25 Sep 2023 19:15:15 +0200 Subject: [PATCH] Update _typing.py --- src/spei/_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spei/_typing.py b/src/spei/_typing.py index c0f1dfe..11dbf17 100644 --- a/src/spei/_typing.py +++ b/src/spei/_typing.py @@ -7,6 +7,6 @@ from scipy.stats._continuous_distns import rv_continuous ContinuousDist = Union[Any, rv_continuous] -Axes = TypeVar("Axes", bound=generic, covariant=True) +Axes = TypeVar("Axes", bound=Union[generic, Any]) NDArrayAxes = NDArray[Axes] NDArrayFloat = NDArray[float64]