diff --git a/doc/api/next_api_changes/deprecations/22345-JK.rst b/doc/api/next_api_changes/deprecations/22345-JK.rst index 7db77b0be6d7..337b09f37a50 100644 --- a/doc/api/next_api_changes/deprecations/22345-JK.rst +++ b/doc/api/next_api_changes/deprecations/22345-JK.rst @@ -1,14 +1,14 @@ Pending deprecation of layout methods ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The methods `~Figure.set_tight_layout`, `~Figure.set_constrained_layout`, +The methods `~.Figure.set_tight_layout`, `~.Figure.set_constrained_layout`, are discouraged, and now emit a ``PendingDeprecationWarning`` in favor of explicitly referencing the layout engine via -`figure.set_layout_engine('tight')` and -`figure.set_layout_engine('constrained')`. End users should not see the +``figure.set_layout_engine('tight')`` and +``figure.set_layout_engine('constrained')``. End users should not see the warning, but library authors should adjust. -The methods `~Figure.set_constrained_layout_pads` and -`~Figure.get_constrained_layout_pads` are will be deprecated in favor of +The methods `~.Figure.set_constrained_layout_pads` and +`~.Figure.get_constrained_layout_pads` are will be deprecated in favor of ``figure.get_layout_engine().set()`` and ``figure.get_layout_engine().get()``, and currently emit a ``PendingDeprecationWarning``. \ No newline at end of file