I have plot an interactive ploting using plotly library with using groupby.
i want to convert this ploting from multiple bars into stacked bar .
df.groupby(['event_type','groups']).size().unstack().iplot(kind='bar', bins=20, theme="white", title="Event type over groups",xTitle='event type', yTitle='Number of person')