I have created a sns.catplot
using seaborn. My goal is to obtain a barplot with error bars.
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: