From b5ce53da1f50f384e20634d005bad2ad3820e714 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 3 Feb 2022 11:08:37 +0100 Subject: [PATCH] TST: fix tests [skip azure] [skip actions] [skip azp] --- doc/api/next_api_changes/deprecations/22345-JK.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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