Seaborn: Making barplot by group with asymmetrical custom error bars
问题 I have a Pandas dataframe that has a couple of group columns like below. gr1 grp2 variables lb m ub A A1 V1 1.00 1.50 2.5 A A2 V2 1.50 2.50 3.5 B A1 V1 3.50 14.50 30.5 B A2 V2 0.25 0.75 1.0 I am trying to get a separate sub-barplot for each variable in variables using FacetGrid . I am trying to build to the final plot that I need which looks like the below. This is what I have so far. g = sns.FacetGrid(df, col="variables", hue="grp1") g.map(sns.barplot, 'grp2', 'm', order=times) But