forked from bschnurr/python-type-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstreamplot.pyi
More file actions
62 lines (52 loc) · 1.72 KB
/
Copy pathstreamplot.pyi
File metadata and controls
62 lines (52 loc) · 1.72 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
62
from typing import Literal, Sequence
from ._typing import *
from .colors import Normalize
from .colors import Colormap
from .axes import Axes
__all__ = ["streamplot"]
def streamplot(
axes: Axes,
x: ArrayLike,
y: ArrayLike,
u: ArrayLike,
v: ArrayLike,
density: float = ...,
linewidth: float = ...,
color: Color = ...,
cmap: Colormap = ...,
norm: Normalize = ...,
arrowsize: float = ...,
arrowstyle: str = ...,
minlength: float = ...,
transform=...,
zorder: int = ...,
start_points: ArrayLike = ...,
maxlength: float = ...,
integration_direction: Literal["forward", "backward", "both"] = ...,
broken_streamlines: bool = ...,
) -> StreamplotSet: ...
class StreamplotSet:
def __init__(self, lines, arrows) -> None: ...
class DomainMap:
def __init__(self, grid: Grid, mask: StreamMask) -> None: ...
def grid2mask(self, xi, yi): ...
def mask2grid(self, xm, ym): ...
def data2grid(self, xd, yd): ...
def grid2data(self, xg, yg): ...
def start_trajectory(self, xg, yg, broken_streamlines=...): ...
def reset_start_point(self, xg, yg): ...
def update_trajectory(self, xg, yg, broken_streamlines=...): ...
def undo_trajectory(self) -> None: ...
class Grid:
def __init__(self, x, y) -> None: ...
@property
def shape(self) -> tuple[int, int]: ...
def within_grid(self, xi, yi): ...
class StreamMask:
def __init__(self, density: float | Sequence[float]) -> None: ...
def __getitem__(self, args): ...
class InvalidIndexError(Exception): ...
class TerminateTrajectory(Exception): ...
def get_integrator(u, v, dmap, minlength, maxlength, integration_direction): ...
class OutOfBounds(IndexError): ...
def interpgrid(a, xi, yi): ...