Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

seaborn boxplot legend color

# Use hue parameter
ax = sns.boxplot(x="day", y="total_bill", hue="smoker",
                 data=tips, palette="Set3")
 
PREVIOUS NEXT
Tagged: #seaborn #boxplot #legend #color
ADD COMMENT
Topic
Name
7+8 =