-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Expand file tree
/
Copy path_tricontour.pyi
More file actions
52 lines (48 loc) · 1.13 KB
/
_tricontour.pyi
File metadata and controls
52 lines (48 loc) · 1.13 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
from matplotlib.axes import Axes
from matplotlib.contour import ContourSet
from matplotlib.tri._triangulation import Triangulation
from numpy.typing import ArrayLike
from typing import overload
# TODO: more explicit args/kwargs (for all things in this module)?
class TriContourSet(ContourSet):
def __init__(self, ax: Axes, *args, **kwargs) -> None: ...
@overload
def tricontour(
ax: Axes,
triangulation: Triangulation,
z: ArrayLike,
levels: int | ArrayLike = ...,
**kwargs
) -> TriContourSet: ...
@overload
def tricontour(
ax: Axes,
x: ArrayLike,
y: ArrayLike,
z: ArrayLike,
levels: int | ArrayLike = ...,
*,
triangles: ArrayLike = ...,
mask: ArrayLike = ...,
**kwargs
) -> TriContourSet: ...
@overload
def tricontourf(
ax: Axes,
triangulation: Triangulation,
z: ArrayLike,
levels: int | ArrayLike = ...,
**kwargs
) -> TriContourSet: ...
@overload
def tricontourf(
ax: Axes,
x: ArrayLike,
y: ArrayLike,
z: ArrayLike,
levels: int | ArrayLike = ...,
*,
triangles: ArrayLike = ...,
mask: ArrayLike = ...,
**kwargs
) -> TriContourSet: ...