@@ -2437,7 +2437,7 @@ def execute_constrained_layout(self, renderer=None):
24372437 def tight_layout (self , renderer = None , pad = 1.08 , h_pad = None , w_pad = None ,
24382438 rect = None ):
24392439 """
2440- Automatically adjust subplot parameters to give specified padding .
2440+ Adjust the padding between and around subplots .
24412441
24422442 To exclude an artist on the axes from the bounding box calculation
24432443 that determines the subplot parameters (i.e. legend, or annotation),
@@ -2447,16 +2447,15 @@ def tight_layout(self, renderer=None, pad=1.08, h_pad=None, w_pad=None,
24472447 ----------
24482448 renderer : subclass of `~.backend_bases.RendererBase`, optional
24492449 Defaults to the renderer for the figure. Deprecated.
2450- pad : float, optional
2450+ pad : float, default: 1.08
24512451 Padding between the figure edge and the edges of subplots,
24522452 as a fraction of the font size.
2453- h_pad, w_pad : float, optional
2453+ h_pad, w_pad : float, default: *pad*
24542454 Padding (height/width) between edges of adjacent subplots,
2455- as a fraction of the font size. Defaults to *pad*.
2456- rect : tuple (left, bottom, right, top), optional
2457- A rectangle (left, bottom, right, top) in the normalized
2458- figure coordinate that the whole subplots area (including
2459- labels) will fit into. Default is (0, 0, 1, 1).
2455+ as a fraction of the font size.
2456+ rect : tuple (left, bottom, right, top), default: (0, 0, 1, 1)
2457+ A rectangle in normalized figure coordinates into which the whole
2458+ subplots area (including labels) will fit.
24602459
24612460 See Also
24622461 --------
0 commit comments