Home > Blockchain >  How can custom errorbars be aligned on grouped bars?
How can custom errorbars be aligned on grouped bars?

Time:01-28

I have created a sns.catplot using seaborn. My goal is to obtain a barplot with error bars.

I followed enter image description here

I did try to sort the select dataframes by doing:

y=df[df["Output"] == var].sort_values(by="Parameter")["Value"], yerr=err_df[err_df["Output"] == var].sort_values(by="Parameter")["value"]

This despite the fact that order in the data frame seems to be preserved across operations.

CodePudding user response:

  • enter image description here

  • Related