hue in seaborn plots code example
Example: hue seaborn
palette_colors = {"Rural": "green", "Urban": "blue"}
sns.countplot(data=df, x="x_label", hue="grouping_variable",
palette=palette_colors)
palette_colors = {"Rural": "green", "Urban": "blue"}
sns.countplot(data=df, x="x_label", hue="grouping_variable",
palette=palette_colors)