Traktor/myenv/Lib/site-packages/matplotlib/tri/_triplot.pyi
2024-05-23 01:57:24 +02:00

16 lines
446 B
Python

from matplotlib.tri._triangulation import Triangulation
from matplotlib.axes import Axes
from matplotlib.lines import Line2D
from typing import overload
from numpy.typing import ArrayLike
@overload
def triplot(
ax: Axes, triangulation: Triangulation, *args, **kwargs
) -> tuple[Line2D, Line2D]: ...
@overload
def triplot(
ax: Axes, x: ArrayLike, y: ArrayLike, triangles: ArrayLike = ..., *args, **kwargs
) -> tuple[Line2D, Line2D]: ...