question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VIS: errorbar plotting

See original GitHub issue

quoting @jreback

maybe

s = Series

s.plot(error_bar = [-1,1])

equiv to:

df = DataFrame(dict(s = s, top = s.std(), bot = -s.std())).plot()

bottom seems the right way to do this…

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
alefnulacommented, Sep 5, 2013

It would be also great if something like this could work:

df = pd.DataFrame({'row': list('abc' * 6),
                   'col': list('xxxxxxyyyyyyzzzzzz'),
                   'value': np.random.randn(18)+5})
mean = df.pivot_table(values='value', rows='row',
                      cols='col', aggfunc='mean')
err  = df.pivot_table(values='value', rows='row',
                      cols='col', aggfunc='std')
mean.plot(kind='bar', yerr=err)

Or any variation on the subject…

0reactions
r-b-g-bcommented, Nov 25, 2013

Thanks for the link! I’ll try to get up to speed. In the meantime, I’ve pushed the changes to my github account… https://github.com/gibbonorbiter/pandas.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Bars
Bar charts and line charts can display vertical errors. Scatter plots can display both vertical and horizontal errors. The image below shows all...
Read more >
Bar plots — vis_bar • immunarch
A metadata object. An R dataframe with sample names and their properties, such as age, serostatus or hla. .errorbars. A numeric vector of...
Read more >
2D Error Bar Plot Helper VI - NI - National Instruments
2D Error Bar Plot Helper VI ... Graphs a plot that displays the percentage or vector of error at each point above and...
Read more >
Veusz 15: Representing error in data - YouTube
Practical Data Vis. Practical Data Vis ... In this video, we show how we can use error bars to show error in data...
Read more >
python matplotlib errorbar legend picking - Stack Overflow
gives you the Line2D objects used in the legend. With errorbar plots, however, leg.get_lines() returns an empty list. This kind of makes sense ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found