mirror of
http://forgejo.openclaw.svc.cluster.local:3000/mrhavens/intellecton.git
synced 2026-06-18 01:22:57 +00:00
52 lines
1.1 KiB
Python
52 lines
1.1 KiB
Python
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: ...
|