I have noticed that sns.barplot uses standard error for error bar as default 1. Is there a way to change it to SD?
ax = sns.barplot(x="day", y="tip", data=tips, ci=???)
Edit 2017:
Now, there is an option in Seaborn v0.8
to show standard deviation in several plot types. In the particular case of the question:
ax = sns.barplot(x="day", y="tip", data=tips, ci="sd")
The answer is: it is not possible to do it directly.
I had asked the same question in the GitHub issue tracker for this library:
Could it be possible to represent standard deviation bars instead standard error bars in barplots?
I don't know if it is already possible tweaking ci and estimator. If this feature is not too complex to implement in Seaborn, I could help to develop it as much as I can.
The developer of this library (mwaskom) answered:
No, it's not possible, sorry.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With