I am using plotly in django. I have a plot defined to be:
plot = plot_bar(df, agg_method=\'count\', barmode=\'stack\',