diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-03-06 14:40:57 +0100 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-03-06 14:40:57 +0100 |
commit | 878c623c7868470d2b2130ae4ee04ff3221c57a6 (patch) | |
tree | c7155f53743bde7a3133d458bd7302d7959d2d4e /contrib/python/matplotlib/py3/matplotlib/projections/__init__.pyi | |
parent | 4c55e729c054fec7cafb703ad6e174dd76e5ac96 (diff) | |
parent | c40ca3aecd1217720caeb85144a70899e015d03f (diff) | |
download | ydb-878c623c7868470d2b2130ae4ee04ff3221c57a6.tar.gz |
Merge branch 'rightlib' into mergelibs17
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]: ... |