Skip to content

Plot method ignores upper and lower error bar arguments #11389

Closed
@theandygross

Description

@theandygross

This seems to be specific to Pandas as opposed to matplotlib. Worked as desired as of a few months ago when I last updated from master.

This is the desired behavior in matplotlib:

plt.barh([0,1], [.3, .5], xerr=[[.1,.2], [.3,.4]],
     color = ['red','green'],
     ecolor='black')

image

In the Pandas call, it seems to ignore the second error bar argument, both the upper and lower bounds of the error bar are the same:

s = pd.Series([.3,.5])
s.plot(kind='barh', xerr=[[.1,.2], [.3,.4]],
       color = ['red','green'],
       ecolor='black')

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions