Skip to content

Commit 03651fc

Browse files
committed
[DOC] Remove "Discouraged" notices that have been superseded by
deprecation
1 parent a7b47f4 commit 03651fc

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

lib/matplotlib/figure.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2788,12 +2788,7 @@ def get_tight_layout(self):
27882788
pending=True)
27892789
def set_tight_layout(self, tight):
27902790
"""
2791-
[*Discouraged*] Set whether and how `.tight_layout` is called when
2792-
drawing.
2793-
2794-
.. admonition:: Discouraged
2795-
2796-
This method is discouraged in favor of `~.set_layout_engine`.
2791+
Set whether and how `.tight_layout` is called when drawing.
27972792
27982793
Parameters
27992794
----------
@@ -2822,8 +2817,7 @@ def get_constrained_layout(self):
28222817
pending=True)
28232818
def set_constrained_layout(self, constrained):
28242819
"""
2825-
[*Discouraged*] Set whether ``constrained_layout`` is used upon
2826-
drawing.
2820+
Set whether ``constrained_layout`` is used upon drawing.
28272821
28282822
If None, :rc:`figure.constrained_layout.use` value will be used.
28292823
@@ -2832,10 +2826,6 @@ def set_constrained_layout(self, constrained):
28322826
overridden. These pads are in inches and default to 3.0/72.0.
28332827
``w_pad`` is the width padding and ``h_pad`` is the height padding.
28342828
2835-
.. admonition:: Discouraged
2836-
2837-
This method is discouraged in favor of `~.set_layout_engine`.
2838-
28392829
Parameters
28402830
----------
28412831
constrained : bool or dict or None

0 commit comments

Comments
 (0)