Skip to content

[ENH]: Add Independent xlabelpad and ylabelpad Options to rcParams #28860

@nominhanggai

Description

@nominhanggai

Problem

Currently, we can only set a uniform axes.labelpad, which applies the same padding for both the x-axis and y-axis labels.

I am aware that it is possible to adjust the labelpad for the x and y labels independently using set_xlabel(..., labelpad=x_pad) and set_ylabel(..., labelpad=y_pad) in plotting code. However, would it be better to add separate options in rcParams to set the padding for x and y labels independently, similar to how xtick.major.pad and ytick.major.pad work?

Proposed solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions