Skip to content

Commit

Permalink
Merge pull request #22383 from jklymak/doc-fix-bad-rst
Browse files Browse the repository at this point in the history
TST: fix doc build
  • Loading branch information
timhoffm committed Feb 3, 2022
2 parents eda1404 + b5ce53d commit 447160e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/api/next_api_changes/deprecations/22345-JK.rst
Original file line number Diff line number Diff line change
@@ -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``.

0 comments on commit 447160e

Please sign in to comment.