Skip to content

'rot' parameter to DataFrame.boxplot not applied to some axes when multi-panel plot is produced using 'by' #5897

Closed
@saffsd

Description

@saffsd

Minimal snippet:

import pandas as pd
from numpy.random import randn
import matplotlib.pyplot as plt

d = pd.DataFrame({'one':randn(5), 'two':randn(5), 'three':randn(5), 'label':['label'] * 5},
        columns = ['one','two','three', 'label'])
bp= d.boxplot(by='label', rot=45)
plt.savefig('xxx.png')

Output produced:
xxx

Issue:
The label on the left is rotated but the label on the right is not.

Versions:
pandas '0.12.0'
matplotlib '1.3.1'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions