barplot group by in seaborn code example Example: plot.barh() group by df.groupby('year').case_status.value_counts().unstack(0).plot.barh()