File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2490,6 +2490,10 @@ def set_tight_layout(self, tight):
2490
2490
"""
2491
2491
Set whether and how `.tight_layout` is called when drawing.
2492
2492
2493
+ .. admonition:: Disc
97E2
ouraged
2494
+
2495
+ This method is discouraged in favor of `~.set_layout_engine`.
2496
+
2493
2497
Parameters
2494
2498
----------
2495
2499
tight : bool or dict with keys "pad", "w_pad", "h_pad", "rect" or None
@@ -2525,7 +2529,9 @@ def set_constrained_layout(self, constrained):
2525
2529
overridden. These pads are in inches and default to 3.0/72.0.
2526
2530
``w_pad`` is the width padding and ``h_pad`` is the height padding.
2527
2531
2528
- See :doc:`/tutorials/intermediate/constrainedlayout_guide`.
2532
+ .. admonition:: Discouraged
2533
+
2534
+ This method is discouraged in favor of `~.set_layout_engine`.
2529
2535
2530
2536
Parameters
2531
2537
----------
You can’t perform that action at this time.
0 commit comments