@@ -2212,22 +2212,22 @@ def __init__(self,
2212
2212
The use of this parameter is discouraged. Please use
2213
2213
``layout='constrained'`` instead.
2214
2214
2215
- layout : {'constrained', 'tight'}, optional
2216
- The layout mechanism for positioning of plot elements.
2217
- Supported values:
2215
+ layout : {'constrained', 'tight'}, optional, default: None
2216
+ The layout mechanism for positioning of plot elements to avoid
2217
+ overlapping Axes decorations (labels, ticks, etc). Note that
2218
+ layout managers can have significant performance penalties.
2218
2219
2219
- - 'constrained': The constrained layout solver usually gives the
2220
- best layout results and is thus recommended. However, it is
2221
- computationally expensive and can be slow for complex figures
2222
- with many elements.
2220
+ - 'constrained': The constrained layout solver adjusts axes sizes
2221
+ to avoid overlapping axes decorations. Can handle complex plot
2222
+ layouts and colorbars, and is thus recommended.
2223
2223
2224
2224
See :doc:`/tutorials/intermediate/constrainedlayout_guide`
2225
2225
for examples.
2226
2226
2227
2227
- 'tight': Use the tight layout mechanism. This is a relatively
2228
- simple algorithm, that adjusts the subplot parameters so that
2229
- decorations like tick labels, axis labels and titles have enough
2230
- space. See `.Figure.set_tight_layout` for further details.
2228
+ simple algorithm that adjusts the subplot parameters so that
2229
+ decorations do not overlap. See `.Figure.set_tight_layout` for
2230
+ further details.
2231
2231
2232
2232
If not given, fall back to using the parameters *tight_layout* and
2233
2233
*constrained_layout*, including their config defaults
0 commit comments