Skip to content

[Doc]: Reduce references to set_tight_layout #26637

@oscargus

Description

@oscargus

Documentation Link

https://matplotlib.org/stable/api/figure_api.html#matplotlib.figure.Figure.set_tight_layout

Problem

set_tight_layout is deprecated.

galleries/users_explain/axes/tight_layout_guide.py:# time the figure is redrawn, you can call ``fig.set_tight_layout(True)``, or,
lib/matplotlib/figure.py:            Whether to use the tight layout mechanism. See `.set_tight_layout`.
lib/matplotlib/figure.py:                ``tight_layout=True`` and use `.set_tight_layout` otherwise.
lib/matplotlib/figure.py:              decorations do not overlap. See `.set_tight_layout` for

Suggested improvement

Better to point to something else. Not sure if that should be TightLayoutEngine or the tight layout guide or what.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    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