BUG: hist plot secondary-y doesn't work · Issue #9610 · pandas-dev/pandas (original) (raw)

In [1]: df = pd.DataFrame(np.random.randn(30, 4), columns=list('abcd'))

In [2]: ax = df.a.plot(legend=True)

In [3]: df.b.plot(ax=ax, legend=True) Out[3]: <matplotlib.axes._subplots.AxesSubplot at 0x10938f6a0>