Skip to content

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

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy