diff --git a/src/scientific_plots/__init__.py b/src/scientific_plots/__init__.py index 169c5e1dca4d94a9a34bc701c5de6abc63c1aa7d..0d1ba1d342f5f4b764a76a38b1b9896f47e5f660 100644 --- a/src/scientific_plots/__init__.py +++ b/src/scientific_plots/__init__.py @@ -5,4 +5,4 @@ useful across several different projects and repositories. It also contains stub-files with several data-type annotations for scipy and matplot-lib functions.""" -__version__ = "1.8.0" +__version__ = "1.8.1" diff --git a/src/scipy-stubs/constants.pyi b/src/scipy-stubs/constants.pyi index e8d4acdc00e8bea73a765c59324f3cf76cce1b50..2b63000c05f9a7b13f856c25b7408130b2356053 100644 --- a/src/scipy-stubs/constants.pyi +++ b/src/scipy-stubs/constants.pyi @@ -2,6 +2,8 @@ """ Stub file for sciypy-constants. """ +from typing import Dict, Tuple + pi: float golden: float golden_ratio: float @@ -11,13 +13,13 @@ Boltzmann: float gas_constant: float -value(key: str) -> float: ... +def value(key: str) -> float: ... -unit(key: str) -> str: ... +def unit(key: str) -> str: ... -precision(key: str) -> float: ... +def precision(key: str) -> float: ... -physical_constants: dict[str, tuple[float, str, float]] +physical_constants: Dict[str, Tuple[float, str, float]]