Skip to content
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

make the align keyword work like matplotlib in bar plots #4525

Closed
cpcloud opened this issue Aug 9, 2013 · 0 comments · Fixed by #6691
Closed

make the align keyword work like matplotlib in bar plots #4525

cpcloud opened this issue Aug 9, 2013 · 0 comments · Fixed by #6691
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Aug 9, 2013

SO question

if you do it with pandas like this:

In [60]: s.plot(kind='bar', align='center')
Out[60]: <matplotlib.axes.AxesSubplot at 0xc1f3810>

In [61]: ax = gca()

In [62]: ax2 = twinx(ax)

In [63]: s.plot(ax=ax2)
Out[63]: <matplotlib.axes.AxesSubplot at 0xd1ffc50>

it overwrites the bar plot

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.

2 participants