Answers for "hue seaborn"

0

hue seaborn

palette_colors = {"Rural": "green", "Urban": "blue"}

sns.countplot(data=df, x="x_label", hue="grouping_variable",
				palette=palette_colors)
Posted by: Guest on May-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language