libraries

This commit is contained in:
2024-09-28 22:52:53 -07:00
parent 5cdaf1f76b
commit 4929d1fa66
7378 changed files with 1550978 additions and 14 deletions

View File

@@ -0,0 +1,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: ...