Menumpuk atau dikelompokkan bar char python

import plotly.express as px
fig = px.bar(df, x="year", y="count", color="UCIC", text_auto=True)
fig.show()
Arrogant Alpaca