BUG: timeseries subplots may display unnecessary minor ticklabels by sinhrks · Pull Request #7801 · pandas-dev/pandas (original) (raw)

Related to #7457. The fix was incomplete because it only hides major ticklabels, not minor ticklabels. This causes incorrect result in time-series plot.

(And another problem is rot default is not applied to minor ticks. I'll check this separatelly)

df = pd.DataFrame(np.random.randn(10, 4), index=pd.date_range(start='2014-07-01', freq='M', periods=10))
df.plot(subplots=True)

Current result:

Minor ticklabels of top 3 axes are not hidden.
figure_ng

Result after fix:

figure_ok