Skip to content

Commit

Permalink
Fix boxplot backcompat
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Jan 26, 2025
1 parent f065174 commit 856c796
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seaborn/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,8 @@ def get_props(element, artist=mpl.lines.Line2D):
# Added in matplotlib 3.10; see below
# orientation=orientation
**(
{"vert": orientation == "x"} if _version_predates(mpl, "3.10.0")
{"vert": orientation == "vertical"}
if _version_predates(mpl, "3.10.0")
else {"orientation": orientation}
),
# added in matplotlib 3.6.0; see below
Expand Down

0 comments on commit 856c796

Please sign in to comment.