“Орден Seaborn Hue” Ответ

Орден Seaborn Hue

import seaborn as sns

titanic = sns.load_dataset("titanic")
hue_order = ['Third', 'Second', 'First']
sns.catplot(x="sex", y="survived", hue="class", data=titanic, 
			hue_order=hue_order, kind="bar")
Exuberant Eland

Seaborn Orient

>>> import seaborn as sns
>>> sns.set_theme(style="whitegrid")
>>> tips = sns.load_dataset("tips")
>>> ax = sns.boxplot(x=tips["total_bill"])
Bored Badger

Ответы похожие на “Орден Seaborn Hue”

Вопросы похожие на “Орден Seaborn Hue”

Больше похожих ответов на “Орден Seaborn Hue” по Python

Смотреть популярные ответы по языку

Смотреть другие языки программирования