Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72fd59d

Browse files
committed
fix stubs
1 parent ae164ce commit 72fd59d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/axes/_axes.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class Axes(_AxesBase):
748748
| Callable[[GaussianKDE], float]
749749
| None = ...,
750750
side: Literal["both", "low", "high"] = ...,
751-
orientation: Literal["vertical", "horizontal"] = ...,
751+
orientation: Literal["vertical", "horizontal"] | None = ...,
752752
*,
753753
data=...,
754754
) -> dict[str, Collection]: ...
@@ -762,7 +762,7 @@ class Axes(_AxesBase):
762762
showextrema: bool = ...,
763763
showmedians: bool = ...,
764764
side: Literal["both", "low", "high"] = ...,
765-
orientation: Literal["vertical", "horizontal"] = ...,
765+
orientation: Literal["vertical", "horizontal"] | None = ...,
766766
) -> dict[str, Collection]: ...
767767

768768
table = mtable.table

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4154,7 +4154,7 @@ def violinplot(
41544154
| Callable[[GaussianKDE], float]
41554155
| None = None,
41564156
side: Literal["both", "low", "high"] = "both",
4157-
orientation: Literal["vertical", "horizontal"] = "vertical",
4157+
orientation: Literal["vertical", "horizontal"] | None = None,
41584158
*,
41594159
data=None,
41604160
) -> dict[str, Collection]:

0 commit comments

Comments
 (0)