Answers for "how to give bar plot groupby python different colors"

3

how to give bar plot groupby python different colors

df.groupby(['tags_0', 'gender']).gender.count().unstack().plot(kind='barh', legend=False, color=['r', 'g', 'b'])
Posted by: Guest on May-03-2022

Python Answers by Framework

Browse Popular Code Answers by Language