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

[Doc]: matplotlib.figure.Figure.subplots_adjust figure #30022

Closed
@battisti456

Description

@battisti456

Documentation Link

https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.subplots_adjust.html#matplotlib.figure.Figure.subplots_adjust

Problem

The image implies "right" and "top" are given as distances from the nearest subplot, while in reality, they are supposed to be expressed as distances from the zero coordinate of the figure.

As an example, to center a figure one might give this according to the diagram:

fig.subplots_adjust(right=0.2,left=0.2,bottom=0.2,top=0.2)

while the correct arguments would be:

fig.subplots_adjust(right=0.8,left=0.2,bottom=0.2,top=0.8)

Suggested improvement

A simple correction of the diagram would likely be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp