diff options
author | AlexSm <alex@ydb.tech> | 2024-03-06 18:04:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 18:04:17 +0100 |
commit | 9bb228f013ea8599c9f0cbe146c7518ed7027b12 (patch) | |
tree | 8c72757ef41ec88cea5d6f2f8035edc3e4e50ebc /contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi | |
parent | c7fc2964a81ff52b75aa49266381086e36fdea99 (diff) | |
parent | 878c623c7868470d2b2130ae4ee04ff3221c57a6 (diff) | |
download | ydb-9bb228f013ea8599c9f0cbe146c7518ed7027b12.tar.gz |
Merge pull request #2513 from alexv-smirnov/mergelibs17
Library import 17, revert previous mistakengly squashed import
Diffstat (limited to 'contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi')
-rw-r--r-- | contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi b/contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi new file mode 100644 index 00000000000..0f8b6c09803 --- /dev/null +++ b/contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi @@ -0,0 +1,15 @@ +from .geo import AitoffAxes, HammerAxes, LambertAxes, MollweideAxes +from .polar import PolarAxes +from ..axes import Axes + +class ProjectionRegistry: + def __init__(self) -> None: ... + def register(self, *projections: type[Axes]) -> None: ... + def get_projection_class(self, name: str) -> type[Axes]: ... + def get_projection_names(self) -> list[str]: ... + +projection_registry: ProjectionRegistry + +def register_projection(cls: type[Axes]) -> None: ... +def get_projection_class(projection: str | None = ...) -> type[Axes]: ... +def get_projection_names() -> list[str]: ... |