You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fontsize is only applied to the x axis and not to the y axis tick labels (see figure).
Expected Output
IMO this argument should change the font size of both axes tick labels. Side note: I've tried to use the new plot API, but I couldn't get the output to match the one shown above using df.plot.box (I couldn't figure out how to set the variable to plot in the first place - probably this only works on Series and not on DataFrames).
Thanks for the report. I think you're right that fontsize should apply to all the ticklabels.
Interested in submitting a fix? The problem is roughly around here. I don't think the fontsize should be set there. We should follow up with something like
Thanks @TomAugspurger! Alright, I'll try to submit a PR soon. We should think about creating another issue to rename fontsize to labelsize. And thanks for confirming that plot.box is not there yet.
Code Sample
Problem description
The fontsize is only applied to the x axis and not to the y axis tick labels (see figure).

Expected Output
IMO this argument should change the font size of both axes tick labels. Side note: I've tried to use the new plot API, but I couldn't get the output to match the one shown above using
df.plot.box
(I couldn't figure out how to set the variable to plot in the first place - probably this only works on Series and not on DataFrames).Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: