Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[ENH]: Allow supxlabel/supylabel to respect labelpad #27803

Copy link
Copy link
Open
@ntessore

Description

@ntessore
Issue body actions

Problem

Using supxlabel or supylabel in a constrained layout with auto-positioning and w_pad=0 or h_pad=0 results in labels that have no spacing with respect to the tick labels. Manually changing the position disables the auto-positioning, which makes everything much more difficult.

It would be great if, in that situation, the constrained layout could take axes.labelpad into account and apply that as a minimal padding.

NB: The same might apply to suptitle and titlepad, but I am not sure.

Proposed solution

I think this only requires a change to the make_margin_suptitles() function, but I am not knowledgeable enough to implement such a change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.