21 lines
673 B
Python
21 lines
673 B
Python
|
from .geo import (
|
||
|
AitoffAxes as AitoffAxes,
|
||
|
HammerAxes as HammerAxes,
|
||
|
LambertAxes as LambertAxes,
|
||
|
MollweideAxes as MollweideAxes,
|
||
|
)
|
||
|
from .polar import PolarAxes as 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]: ...
|