diff --git a/seaborn/categorical.py b/seaborn/categorical.py index ee8aa0908b..6a46a17a40 100644 --- a/seaborn/categorical.py +++ b/seaborn/categorical.py @@ -2669,7 +2669,7 @@ def countplot( p.plot_data[count_axis] = 1 _check_argument("stat", ["count", "percent", "probability", "proportion"], stat) - p.variables[count_axis] = stat + p.variables[count_axis] = stat.capitalize() if stat != "count": denom = 100 if stat == "percent" else 1 p.plot_data[count_axis] /= len(p.plot_data) / denom