Код: Выделить всё
fig, ax = plt.subplots(figsize=(5, 5))
sns.histplot(
data=tips,
x="size", hue="day",
multiple="fill", stat="proportion",
discrete=True, shrink=.9, palette='Set2',
legend=False,
ax=ax
)
Подробнее здесь: https://stackoverflow.com/questions/796 ... he-main-fi