📜  色调 seaborn - Python 代码示例

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

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

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