Skip to content

Commit

Permalink
fix stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
saranti committed Apr 20, 2024
1 parent c6932a5 commit a9ad37e
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 @@ -739,7 +739,7 @@ class Axes(_AxesBase):
dataset: ArrayLike | Sequence[ArrayLike],
positions: ArrayLike | None = ...,
*,
orientation: Literal["vertical", "horizontal"] | None = ...,
orientation: Literal["vertical", "horizontal"] = ...,
vert: bool | None = ...,
widths: float | ArrayLike = ...,
showmeans: bool = ...,
Expand All @@ -759,7 +759,7 @@ class Axes(_AxesBase):
vpstats: Sequence[dict[str, Any]],
positions: ArrayLike | None = ...,
*,
orientation: Literal["vertical", "horizontal"] | None = ...,
orientation: Literal["vertical", "horizontal"] = ...,
vert: bool | None = ...,
widths: float | ArrayLike = ...,
showmeans: bool = ...,
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -4142,7 +4142,7 @@ def triplot(*args, **kwargs):
def violinplot(
dataset: ArrayLike | Sequence[ArrayLike],
positions: ArrayLike | None = None,
orientation: Literal["vertical", "horizontal"] | None = "vertical",
orientation: Literal["vertical", "horizontal"] = "vertical",
vert: bool | None = None,
widths: float | ArrayLike = 0.5,
showmeans: bool = False,
Expand Down

0 comments on commit a9ad37e

Please sign in to comment.