From 4b431aa49977d16fe1aa60c7dbde35d92645dbf9 Mon Sep 17 00:00:00 2001 From: Michael Waskom Date: Tue, 14 Jun 2022 22:36:13 -0400 Subject: [PATCH] Add width to countplot as well --- seaborn/categorical.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seaborn/categorical.py b/seaborn/categorical.py index 3e24eddaed..3b69c855f7 100644 --- a/seaborn/categorical.py +++ b/seaborn/categorical.py @@ -2912,7 +2912,7 @@ def pointplot( def countplot( data=None, *, x=None, y=None, hue=None, order=None, hue_order=None, - orient=None, color=None, palette=None, saturation=.75, + orient=None, color=None, palette=None, saturation=.75, width=.8, dodge=True, ax=None, **kwargs ): @@ -2938,7 +2938,7 @@ def countplot( x, y, hue, data, order, hue_order, estimator, ci, n_boot, units, seed, orient, color, palette, saturation, - errcolor, errwidth, capsize, dodge + width, errcolor, errwidth, capsize, dodge ) plotter.value_label = "count"