'rot' parameter to DataFrame.boxplot not applied to some axes when multi-panel plot is produced using 'by' · Issue #5897 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@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'