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

Recompute figsize-dependent parameters on resize #5824

Closed
Milestone
@anntzer

Description

@anntzer

Edit: See#5824 (comment) for the doc related issue.

Currently, applying tight_layout and resizing the figure do not commute (e.g., aftersubplots(2); tight_layout() and a manual maximization of the figure size, applyingtight_layout again changes the margins). This is basically due to the fact that certain paddings (and text sizes) are in absolute units, which is fairly reasonable.

However, it would be nice if an option was available to add a callback to figure resize events to auto-re-tightlayout when that happens.

The following part is solved by the yet-to-be-merged#5772.
This kind of feature may become even more useful now that#5588 (number of ticks determined from physical length of axis) has been merged, as the number of ticks should, well, also be adjusted when the figure is resized (or rather, the option to do so should be (easily) available).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp