You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
"""
|
|
This type stub file was generated by pyright.
|
|
"""
|
|
|
|
from matplotlib.axes._base import _AxesBase
|
|
from matplotlib.axis import Tick
|
|
from matplotlib.transforms import Transform
|
|
from collections.abc import Callable, Iterable
|
|
from typing import Literal
|
|
from numpy.typing import ArrayLike
|
|
from matplotlib.typing import ColorType
|
|
|
|
class SecondaryAxis(_AxesBase):
|
|
def __init__(self, parent: _AxesBase, orientation: Literal["x", "y"], location: Literal["top", "bottom", "right", "left"] | float, functions: tuple[Callable[[ArrayLike], ArrayLike], Callable[[ArrayLike], ArrayLike]] | Transform, **kwargs) -> None:
|
|
...
|
|
|
|
def set_alignment(self, align: Literal["top", "bottom", "right", "left"]) -> None:
|
|
...
|
|
|
|
def set_location(self, location: Literal["top", "bottom", "right", "left"] | float) -> None:
|
|
...
|
|
|
|
def set_ticks(self, ticks: ArrayLike, labels: Iterable[str] | None = ..., *, minor: bool = ..., **kwargs) -> list[Tick]:
|
|
...
|
|
|
|
def set_functions(self, functions: tuple[Callable[[ArrayLike], ArrayLike], Callable[[ArrayLike], ArrayLike]] | Transform) -> None:
|
|
...
|
|
|
|
def set_aspect(self, *args, **kwargs) -> None:
|
|
...
|
|
|
|
def set_color(self, color: ColorType) -> None:
|
|
...
|
|
|
|
|
|
|