I am trying to do violinplotusing only the parameters yand huein seaborn(the xdata variable is defined as None). Using a similar example, as in the documentation I did:
tips = sns.load_dataset("tips")
sns.violinplot(y="total_bill", hue="sex", data=tips, split=True)
And the final figure is not divided according to the hue variable.

When the variable x is defined, the graph is broken. Is there a way to have a split plot in the seabed without typing x?
source
share