Skip to content

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

Closed
@cpcloud

Description

@cpcloud

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions