Skip to content

BUG: plot(kind='bar') ignores use_index keyword #6209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TomAugspurger opened this issue Jan 31, 2014 · 0 comments · Fixed by #6210
Closed

BUG: plot(kind='bar') ignores use_index keyword #6209

TomAugspurger opened this issue Jan 31, 2014 · 0 comments · Fixed by #6210
Labels
Milestone

Comments

@TomAugspurger
Copy link
Contributor

with df = pd.Series([1, 2, 3, 4], index=['a', 'b', 'c', 'd']).

From df.plot(kind='bar', use_index=False):

bar_false

From df.plot(use_index=False):

line_false

Most of the time it doesn't make sense to do a bar plot and ignore the groups formed by the index, but I had an index with a bunch of long strings and just wanted to see the distribution (pretty much a histogram), so I didn't care about the index.

PR inbound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant