Plot with multiple y-axis columns in Facet Grid seaborn

Viewed 19

I am trying to plot a Facet Grid with multiple y-axis columns with sns.barplot. The resulting plot should also not have stacked bars for each y-axis columns.

p = sns.FacetGrid(df, col='B', 
                      row='C',  
                      height=8, aspect=1, hue='D', 
                      sharex=False)
    
p.map_dataframe(sns.barplot, x = 'A', y=['E', 'F'])

The above code does not work! Only one column is accepted.

0 Answers
Related