📜  颜色 seaborn - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:38.686000             🧑  作者: Mango

代码示例1
palette_colors = {"Rural": "green", "Urban": "blue"}

sns.countplot(data=df, x="x_label", hue="grouping_variable",
                palette=palette_colors)