I ran into some difficulties adding error bars to my sites that I created in Python using Seaborn.
I currently have a data frame in the 'csv' format,
TSMdatabase = 'TSMvsRunmaster.csv';
tsmdf = pd.read_csv(TSMdatabase, sep=',');
The Dataframe format has the following format:
Run,TSMX_Value,TSMX_Error,TSMX+1_Value,TSMX+1_Error,Source
Then I use the for loop to read in different TSM values:
TSM = ['001', '002', '003', '004', '010', '011', '012',
'013', '016', '017', '101', '102', '104', '105', '106']
for x in TSM:
tsm = x
And then, finally, I give me the opportunity:
plt.figure()
sns.set_style("darkgrid")
ax = sns.stripplot(x="Run", y='TSM'+str(tsm)+'_Value', hue="Source", data=tsmdf,
jitter=True, palette="Set2", split=True)
plt.xticks(rotation=40)
plt.title('Run TSM'+str(tsm)+' Comparison')
plt.show()
Plot for a specific TSM without errors

If I try to add error bars, I get only one error panel in the middle of each data set:

where each source, Python and Matlab actually have their own errors in the data frame!
Does anyone have any ideas! Thank you very much!