Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea90b80

Browse files
committed
DOC: add api change
1 parent d597af8 commit ea90b80

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Pending deprecation of layout methods
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
The methods `~Figure.set_tight_layout`, `~Figure.set_constrained_layout`,
4+
are discouraged, and now emit a ``PendingDeprecationWarning`` in favor of
5+
explicitly referencing the layout engine via
6+
`figure.set_layout_engine('tight')` and
7+
`figure.set_layout_engine('constrained')`. End users should not see the
8+
warning, but library authors should adjust.
9+
10+
The methods `~Figure.set_constrained_layout_pads` and
11+
`~Figure.get_constrained_layout_pads` are will be deprecated in favor of
12+
``figure.get_layout_engine().set()`` and
13+
``figure.get_layout_engine().get()``, and currently emit a
14+
``PendingDeprecationWarning``.

0 commit comments

Comments
 (0)