Skip to content

Commit

Permalink
fix stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
saranti committed Apr 4, 2024
1 parent 1617468 commit e7c1fa1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/axes/_axes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ class Axes(_AxesBase):
| Callable[[GaussianKDE], float]
| None = ...,
side: Literal["both", "low", "high"] = ...,
orientation: Literal["vertical", "horizontal"] = ...,
orientation: Literal["vertical", "horizontal"] | None = ...,
*,
data=...,
) -> dict[str, Collection]: ...
Expand All @@ -762,7 +762,7 @@ class Axes(_AxesBase):
showextrema: bool = ...,
showmedians: bool = ...,
side: Literal["both", "low", "high"] = ...,
orientation: Literal["vertical", "horizontal"] = ...,
orientation: Literal["vertical", "horizontal"] | None = ...,
) -> dict[str, Collection]: ...

table = mtable.table
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4154,7 +4154,7 @@ def violinplot(
| Callable[[GaussianKDE], float]
| None = None,
side: Literal["both", "low", "high"] = "both",
orientation: Literal["vertical", "horizontal"] = "vertical",
orientation: Literal["vertical", "horizontal"] | None = None,
*,
data=None,
) -> dict[str, Collection]:
Expand Down

0 comments on commit e7c1fa1

Please sign in to comment.