Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d597af8 commit ea90b80Copy full SHA for ea90b80
1 file changed
doc/api/next_api_changes/deprecations/22345-JK.rst
@@ -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