Skip to content

Commit

Permalink
make bxp's orientation default to vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
saranti committed Apr 20, 2024
1 parent dd2eda9 commit 19b5873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4165,7 +4165,7 @@ def boxplot(self, x, notch=None, sym=None, vert=None,

@_api.make_keyword_only("3.9", "widths")
def bxp(self, bxpstats, positions=None, widths=None, vert=None,
orientation=None, patch_artist=False, shownotches=False,
orientation='vertical', patch_artist=False, shownotches=False,
showmeans=False, showcaps=True, showbox=True, showfliers=True,
boxprops=None, whiskerprops=None, flierprops=None,
medianprops=None, capprops=None, meanprops=None,
Expand Down
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class Axes(_AxesBase):
*,
widths: float | ArrayLike | None = ...,
vert: bool | None = ...,
orientation: Literal["vertical", "horizontal"] | None = ...,
orientation: Literal["vertical", "horizontal"] = ...,
patch_artist: bool = ...,
shownotches: bool = ...,
showmeans: bool = ...,
Expand Down

0 comments on commit 19b5873

Please sign in to comment.