-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy path_secondary_axes.pyi
More file actions
61 lines (58 loc) · 1.74 KB
/
_secondary_axes.pyi
File metadata and controls
61 lines (58 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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,
transform: Transform | None = ...,
**kwargs
) -> None: ...
def set_alignment(
self, align: Literal["top", "bottom", "right", "left"]
) -> None: ...
def set_location(
self,
location: Literal["top", "bottom", "right", "left"] | float,
transform: Transform | None = ...
) -> None: ...
def set_xticks(
self,
ticks: ArrayLike,
labels: Iterable[str] | None = ...,
*,
minor: bool = ...,
**kwargs
) -> list[Tick]: ...
def set_yticks(
self,
ticks: ArrayLike,
labels: Iterable[str] | None = ...,
*,
minor: bool = ...,
**kwargs
) -> list[Tick]: ...
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: ...