diff --git a/seaborn/categorical.py b/seaborn/categorical.py index 7c3d2e3cc3..017f0b8648 100644 --- a/seaborn/categorical.py +++ b/seaborn/categorical.py @@ -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