diff --git a/src/spei/_typing.py b/src/spei/_typing.py index 195a174..8d7d15c 100644 --- a/src/spei/_typing.py +++ b/src/spei/_typing.py @@ -1,12 +1,11 @@ # flake8: noqa -from typing import Any, TypeVar, Union +from typing import Any, Union -from matplotlib.axes import Axes as mplAxes from numpy import float64 from numpy.typing import NDArray from scipy.stats._continuous_distns import rv_continuous ContinuousDist = Union[Any, rv_continuous] -Axes = TypeVar("Axes", bound=Union[mplAxes, Any]) -NDArrayAxes = NDArray[Any] +Axes = Any +NDArrayAxes = NDArray[Axes] NDArrayFloat = NDArray[float64]