Skip to content

Commit d14f3d1

Browse files
committed
doc_Figure_tight_layout
1 parent 4769f7b commit d14f3d1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/matplotlib/figure.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2288,7 +2288,10 @@ def tight_layout(self, renderer=None, pad=1.08, h_pad=None, w_pad=None,
22882288
22892289
Parameters
22902290
----------
2291-
pad : float
2291+
renderer : subclass of `~.backend_bases.RendererBase`, optional
2292+
Defaults to the renderer for the figure.
2293+
2294+
pad : float, optional
22922295
Padding between the figure edge and the edges of subplots,
22932296
as a fraction of the font size.
22942297
h_pad, w_pad : float, optional
@@ -2298,6 +2301,11 @@ def tight_layout(self, renderer=None, pad=1.08, h_pad=None, w_pad=None,
22982301
A rectangle (left, bottom, right, top) in the normalized
22992302
figure coordinate that the whole subplots area (including
23002303
labels) will fit into. Default is (0, 0, 1, 1).
2304+
2305+
See Also
2306+
--------
2307+
.Figure.set_tight_layout
2308+
.pyplot.tight_layout
23012309
"""
23022310

23032311
from .tight_layout import (

0 commit comments

Comments
 (0)