I am trying to add the confidence interval 95% on my graph. This code works just fine:
sns.catplot(data=df, x="read_level_1", y="sum_START", kind="box")
However, when I try the following line:
sns.catplot(data=df, x="read_level_1", y="sum_START", errorbar=("ci", 95))
It doesn't work, and I keep getting the following error:
AttributeError: 'PathCollection' object has no property 'errorbar'
Any advice, please?
You can replace use of non-existing
errorbarwithkindandciarguments respectively. So instead of:write:
BUT...
ciseems to be marked deprecated, so I'd rather go forbarplot()instead: