Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[ENH]: inset_axes has borderpadding, but not x/y individually. #30331

Open
@JulienRee

Description

@JulienRee

Problem

axislabels (ticks labels or labels) of inset_axes feature can sometimes overlap the outer axes of the main plot when location is set to upper left, lower left. borderpad in inset_axes allows the user to offset the axes from the main axes, but will in both x and y. When I place an inset in the upper left corner, it should not move down, but only to the right to not overlap with the main plot axis labels, and not move into the figure more than it should.

It would be a great feature to have borderpadding in the form of a tuple, to offset the inset axes by only x- or y-padding.

Proposed solution

Allow inset_axes(borderpad=(0.5, 0.5))
This will also require some backpropagation into the upper classes and methods.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp