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):
24902490 """
24912491 Set whether and how `.tight_layout` is called when drawing.
24922492
2493+ .. admonition:: Discouraged
2494+
2495+ This method is discouraged in favor of `~.set_layout_engine`.
2496+
24932497 Parameters
24942498 ----------
24952499 tight : bool or dict with keys "pad", "w_pad", "h_pad", "rect" or None
@@ -2525,7 +2529,9 @@ def set_constrained_layout(self, constrained):
25252529 overridden. These pads are in inches and default to 3.0/72.0.
25262530 ``w_pad`` is the width padding and ``h_pad`` is the height padding.
25272531
2528- See :doc:`/tutorials/intermediate/constrainedlayout_guide`.
2532+ .. admonition:: Discouraged
2533+
2534+ This method is discouraged in favor of `~.set_layout_engine`.
25292535
25302536 Parameters
25312537 ----------
You can’t perform that action at this time.
0 commit comments