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

Comments

Projects
None yet
2 participants
@cpcloud
Copy link
Member

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
You can’t perform that action at this time.