|
33 | 33 | left, right, top, bottom : unit-spec, optional |
34 | 34 | The fixed space between the subplots and the figure edge. Default is ``None``. |
35 | 35 | %(units.em)s |
36 | | - If ``None``, the space is determined automatically based on the font size and |
37 | | - axis sharing settings. If :rcraw:`subplots.tight` is ``True``, the space is |
38 | | - determined by the tight layout algorithm. |
| 36 | + If ``None``, the space is determined automatically based on the tick and |
| 37 | + label settings. If :rcraw:`subplots.tight` is ``True`` or ``tight=True`` was |
| 38 | + passed to the figure, the space is determined by the tight layout algorithm. |
39 | 39 | """ |
40 | 40 | _scalar_docstring = """ |
41 | 41 | wspace, hspace, space : unit-spec, optional |
42 | 42 | The fixed space between grid columns, rows, or both. Default is ``None``. |
43 | 43 | %(units.em)s |
44 | | - If ``None``, the space is determined automatically based on the font size and |
45 | | - axis sharing settings. If :rcraw:`subplots.tight` is ``True``, the space is |
46 | | - determined by the tight layout algorithm. |
| 44 | + If ``None``, the space is determined automatically based on the font size and axis |
| 45 | + sharing settings. If :rcraw:`subplots.tight` is ``True`` or ``tight=True`` was |
| 46 | + passed to the figure, the space is determined by the tight layout algorithm. |
47 | 47 | """ |
48 | 48 | _vector_docstring = """ |
49 | 49 | wspace, hspace, space : unit-spec or sequence, optional |
|
54 | 54 | %(units.em)s |
55 | 55 |
|
56 | 56 | For elements equal to ``None``, the space is determined automatically based |
57 | | - on the font and tick settings. If :rcraw:`subplots.tight` is ``True``, the |
58 | | - space is determined by the tight layout algorithm. Otherwise, a sensible default |
59 | | - value is chosen. For example, ``subplots(ncols=3, tight=True, wspace=(2, None))`` |
| 57 | + on the tick and label settings. If :rcraw:`subplots.tight` is ``True`` or |
| 58 | + ``tight=True`` was passed to the figure, the space is determined by the tight |
| 59 | + layout algorithm. For example, ``subplots(ncols=3, tight=True, wspace=(2, None))`` |
60 | 60 | fixes the space between columns 1 and 2 but lets the tight layout algorithm |
61 | 61 | determine the space between columns 2 and 3. |
62 | 62 | wratios, hratios : float or sequence, optional |
63 | 63 | Passed to `~proplot.gridspec.GridSpec`, denotes the width and height |
64 | 64 | ratios for the subplot grid. Length of `wratios` must match the number |
65 | 65 | of rows, and length of `hratios` must match the number of columns. |
66 | 66 | width_ratios, height_ratios |
67 | | - Aliases for `wratios`, `hratios`. Included for consistency with |
68 | | - the `matplotlib.pyplot.subplots` command. |
| 67 | + Aliases for `wratios`, `hratios`. Included for |
| 68 | + consistency with `matplotlib.gridspec.GridSpec`. |
69 | 69 | wpad, hpad, pad : unit-spec or sequence, optional |
70 | | - The tight layout padding between columns, rows, and both, respectively. Unlike |
71 | | - ``space``, these control the padding between subplot content (including text, |
72 | | - ticks, etc.) rather than subplot edges. As with ``space``, these can be scalars |
73 | | - or arrays optionally containing ``None``. Default is `innerpad`. |
| 70 | + The tight layout padding between columns, rows, and both, respectively. |
| 71 | + Unlike ``space``, these control the padding between subplot content |
| 72 | + (including text, ticks, etc.) rather than subplot edges. As with |
| 73 | + ``space``, these can be scalars or arrays optionally containing ``None``. |
| 74 | + For elements equal to ``None``, the default is `innerpad`. |
74 | 75 | %(units.em)s |
75 | 76 | """ |
76 | 77 | _tight_docstring = """ |
77 | 78 | wequal, hequal, equal : bool, optional |
78 | | - Whether to make the tight layout algorithm apply equal spacing between columns, |
79 | | - rows, or both. Default is ``False``. Ignored if :rcraw:`tight` is ``False``. |
| 79 | + Whether to make the tight layout algorithm apply equal spacing |
| 80 | + between columns, rows, or both. Default is ``False``. |
80 | 81 | outerpad : unit-spec, optional |
81 | | - The tight layout padding around the left, right, top, and bottom edges |
| 82 | + The scalar tight layout padding around the left, right, top, and bottom edges |
82 | 83 | of the figure. Default is :rc:`subplots.outerpad`. |
83 | 84 | %(units.em)s |
84 | 85 | innerpad : unit-spec, optional |
85 | 86 | The scalar tight layout padding between columns and rows. Synonymous with |
86 | 87 | `pad`. Default is :rc:`subplots.innerpad`. |
87 | 88 | %(units.em)s |
88 | 89 | panelpad : unit-spec, optional |
89 | | - The tight layout padding between subplots and axes panels and between "stacked" |
90 | | - panels. Default is :rc:`subplots.panelpad`. |
| 90 | + The scalar tight layout padding between subplots and their panels, colorbars, and |
| 91 | + legends and between "stacks" of these objects. Default is :rc:`subplots.panelpad`. |
91 | 92 | %(units.em)s |
92 | 93 | """ |
93 | 94 | docstring._snippet_manager['gridspec.shared'] = _shared_docstring |
|
0 commit comments