Skip to content

DOC/BUG: Pandas Adds a Dashed Line in Bar Plot (unnecessarily?) #9088

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
joehand opened this issue Dec 15, 2014 · 3 comments · Fixed by #9122
Closed

DOC/BUG: Pandas Adds a Dashed Line in Bar Plot (unnecessarily?) #9088

joehand opened this issue Dec 15, 2014 · 3 comments · Fixed by #9122
Milestone

Comments

@joehand
Copy link

joehand commented Dec 15, 2014

When using df.plot(kind='bar') pandas adds a dotted line to the x-axis (kind='barh', line is added to y-axis). Why is the dotted line added (line in the code)?

This line is undocumented and there is no way to remove it without a hack. It'd be nice to have it documented (if it is necessary) or removed.

@TomAugspurger
Copy link
Contributor

Probably added in c63d623. I wouldn't mind removing the line entirely.

@sinhrks
Copy link
Member

sinhrks commented Dec 20, 2014

Related to #7128. I don't' oppose to omit it entirely, or should have switching option?

@TomAugspurger
Copy link
Contributor

I don't really think a keyword argument would even be good. A more complex API and more code to maintain, for something that's really easy to do, but really hard to undo.

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

Successfully merging a pull request may close this issue.

3 participants