colours seaborn code example
Example: colours 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)