Skip to content

BUG: fontsize parameter of plot only affects x-axis. #8765

Closed
@davidastephens

Description

@davidastephens
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randn(10, 9), index=range(10))
df.plot()

Results in this plot (all the same font size):
figure_with_normal_font

df.plot(fontsize=4)

Results in this plot (only the x-axis font size is changed):
figure_with_small_font

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions