Do the widths of boxplots mean anything?


#1

Question

In Seaborn, do the widths of boxplots mean anything?

Answer

No, the widths of boxplots actually do not mean anything. The width values are arbitrary and are mainly to make the boxplots easier to visualize.

If needed, the widths of boxplots can be changed using the width argument, with a float value passed in.

sns.boxplot(data=df, x='label', y='value', width=0.45)