File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
doc/api/next_api_changes/deprecations Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change
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 ``.
You can’t perform that action at this time.
0 commit comments