Skip to content

[Doc]: Reduce references to set_tight_layout #26637

Closed
@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