Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/matplotlib/tri/_tripcolor.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from matplotlib.tri._triangulation import Triangulation

from numpy.typing import ArrayLike

from typing import overload, Literal
from typing import Any, Literal, overload

@overload
def tripcolor(
Expand All @@ -20,7 +20,7 @@ def tripcolor(
vmax: float | None = ...,
shading: Literal["flat"] = ...,
facecolors: ArrayLike | None = ...,
**kwargs
**kwargs: Any,
) -> PolyCollection: ...
@overload
def tripcolor(
Expand All @@ -36,7 +36,7 @@ def tripcolor(
vmax: float | None = ...,
shading: Literal["flat"] = ...,
facecolors: ArrayLike | None = ...,
**kwargs
**kwargs: Any,
) -> PolyCollection: ...
@overload
def tripcolor(
Expand All @@ -51,7 +51,7 @@ def tripcolor(
vmax: float | None = ...,
shading: Literal["gouraud"],
facecolors: ArrayLike | None = ...,
**kwargs
**kwargs: Any,
) -> TriMesh: ...
@overload
def tripcolor(
Expand All @@ -67,5 +67,5 @@ def tripcolor(
vmax: float | None = ...,
shading: Literal["gouraud"],
facecolors: ArrayLike | None = ...,
**kwargs
**kwargs: Any,
) -> TriMesh: ...
Loading