Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

Can't find a way of adding errorbars to a Python ggplot plot. The following issue has been neglected for over a year. Nothing in the docs.

share|improve this question

I had this same problem and found no solution. However I did find a way around it. You can use matplotlib in the style of ggplot. From there it's much easier to use error bars. I've attached an example of some code I used.

plt.style.use('ggplot')

This is an extract of one of my codes

df2.gLongCrFiltered['mean'].plot(kind='bar', yerr=df2.gLongCrFiltered['std'])

which returned thisenter image description here

share|improve this answer
    
I thought matplotlib might be the answer. I'm reluctant to learn a whole new plotting library but it seems I have no choice! – polyphant Oct 6 '15 at 10:57
1  
There is a vast amount of support for it both here on SO and on their website. It's quite a nice piece of kit. There might be a way on ggplot but I searched for quite a while with no luck – OParker Oct 6 '15 at 10:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.