Skip to content
Open
Show file tree
Hide file tree
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
20 changes: 10 additions & 10 deletions lib/matplotlib/backend_bases.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@ class RendererBase:
master_transform: Transform,
paths: Sequence[Path],
all_transforms: Sequence[ArrayLike],
offsets: ArrayLike | Sequence[ArrayLike],
offsets: Sequence[ArrayLike],
offset_trans: Transform,
facecolors: ColorType | Sequence[ColorType],
edgecolors: ColorType | Sequence[ColorType],
linewidths: float | Sequence[float],
linestyles: LineStyleType | Sequence[LineStyleType],
antialiaseds: bool | Sequence[bool],
urls: str | Sequence[str],
facecolors: Sequence[ColorType],
edgecolors: Sequence[ColorType],
linewidths: Sequence[float],
linestyles: Sequence[LineStyleType],
antialiaseds: Sequence[bool],
urls: Sequence[str | None],
offset_position: Any,
*,
hatchcolors: ColorType | Sequence[ColorType] | None = None,
hatchcolors: Sequence[ColorType] | None = None,
) -> None: ...
def draw_quad_mesh(
self,
Expand All @@ -95,11 +95,11 @@ class RendererBase:
meshWidth,
meshHeight,
coordinates: ArrayLike,
offsets: ArrayLike | Sequence[ArrayLike],
offsets: Sequence[ArrayLike],
offsetTrans: Transform,
facecolors: Sequence[ColorType],
antialiased: bool,
edgecolors: Sequence[ColorType] | ColorType | None,
edgecolors: Sequence[ColorType],
) -> None: ...
def draw_gouraud_triangles(
self,
Expand Down
18 changes: 9 additions & 9 deletions lib/matplotlib/collections.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ class Collection(colorizer.ColorizingArtist):
def get_antialiased(self) -> NDArray[np.bool_]: ...
def set_color(self, c: ColorType | Sequence[ColorType]) -> None: ...
def set_facecolor(self, c: ColorType | Sequence[ColorType]) -> None: ...
def get_facecolor(self) -> ColorType | Sequence[ColorType]: ...
def get_edgecolor(self) -> ColorType | Sequence[ColorType]: ...
def get_facecolor(self) -> Sequence[ColorType]: ...
def get_edgecolor(self) -> Sequence[ColorType]: ...
def set_edgecolor(self, c: ColorType | Sequence[ColorType]) -> None: ...
def get_hatchcolor(self) -> ColorType | Sequence[ColorType]: ...
def get_hatchcolor(self) -> Sequence[ColorType]: ...
def set_hatchcolor(
self, c: ColorType | Sequence[ColorType] | Literal["edge"]
) -> None: ...
def set_alpha(self, alpha: float | Sequence[float] | None) -> None: ...
def get_linewidth(self) -> float | Sequence[float]: ...
def get_linestyle(self) -> LineStyleType | Sequence[LineStyleType]: ...
def get_linewidth(self) -> float | Sequence[float]: ... # float for EventCollection
def get_linestyle(self) -> Sequence[LineStyleType]: ...
def update_scalarmappable(self) -> None: ...
def get_fill(self) -> bool: ...
def update_from(self, other: Artist) -> None: ...
Expand Down Expand Up @@ -164,8 +164,8 @@ class LineCollection(Collection):
def set_colors(self, c: ColorType | Sequence[ColorType]) -> None: ...
def set_gapcolor(self, gapcolor: ColorType | Sequence[ColorType] | None) -> None: ...
def get_color(self) -> ColorType | Sequence[ColorType]: ...
def get_colors(self) -> ColorType | Sequence[ColorType]: ...
def get_gapcolor(self) -> ColorType | Sequence[ColorType] | None: ...
def get_colors(self) -> Sequence[ColorType]: ...
def get_gapcolor(self) -> Sequence[ColorType] | None: ...

class EventCollection(LineCollection):
def __init__(
Expand Down Expand Up @@ -245,8 +245,8 @@ class _MeshData:
) -> None: ...
def set_array(self, A: ArrayLike | None) -> None: ...
def get_coordinates(self) -> ArrayLike: ...
def get_facecolor(self) -> ColorType | Sequence[ColorType]: ...
def get_edgecolor(self) -> ColorType | Sequence[ColorType]: ...
def get_facecolor(self) -> Sequence[ColorType]: ...
def get_edgecolor(self) -> Sequence[ColorType]: ...

class QuadMesh(_MeshData, Collection):
def __init__(
Expand Down
Loading