I'm trying to make an interactive bar-plot, where in i can have a drop-down to change the hue of a visualization. For example,
sns.barplot(x=df['sex'],y=df['total_bill'],hue=df['smoker'])
sns.barplot(x=df['sex'],y=df['total_bill'],hue=df['time'])
I basically want to combine the 2 plots into 1, where i can have a button-like option to change the hue. Im thinking this can be done with plotly or bokeh.