Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 88ea5b7

Browse filesBrowse files
authored
Merge pull request #17413 from matplotlib/revert-17094-doc-drop-experimental-constrained
Revert "DOC: drop the experimental tag constrained_layout and tight_layout"
2 parents 22eade6 + d8418e2 commit 88ea5b7
Copy full SHA for 88ea5b7

File tree

Expand file treeCollapse file tree

3 files changed

+9
-15
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+9
-15
lines changed

‎doc/users/next_whats_new/2020-04-11-constrainedlayout-not-exp.rst

Copy file name to clipboardExpand all lines: doc/users/next_whats_new/2020-04-11-constrainedlayout-not-exp.rst
-7Lines changed: 0 additions & 7 deletions
This file was deleted.

‎tutorials/intermediate/constrainedlayout_guide.py

Copy file name to clipboardExpand all lines: tutorials/intermediate/constrainedlayout_guide.py
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
3131
.. warning::
3232
33-
Constrained layout can lead to irreproducible plots
34-
as the solver sometimes returns slightly different results.
35-
If you *require* your plots to be absolutely reproducible, get the
36-
Axes positions after running Constrained Layout and use
37-
``ax.set_position()`` in your code with ``constrained_layout=False``.
33+
Currently Constrained Layout is **experimental**. The
34+
behaviour and API are subject to change, or the whole functionality
35+
may be removed without a deprecation period. If you *require* your
36+
plots to be absolutely reproducible, get the Axes positions after
37+
running Constrained Layout and use ``ax.set_position()`` in your code
38+
with ``constrained_layout=False``.
3839
3940
Simple Example
4041
==============

‎tutorials/intermediate/tight_layout_guide.py

Copy file name to clipboardExpand all lines: tutorials/intermediate/tight_layout_guide.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
How to use tight-layout to fit plots within your figure cleanly.
77
88
*tight_layout* automatically adjusts subplot params so that the
9-
subplot(s) fits in to the figure area. This feature may not work
10-
for some cases. It only checks the extents of ticklabels, axis labels,
11-
and titles.
9+
subplot(s) fits in to the figure area. This is an experimental
10+
feature and may not work for some cases. It only checks the extents
11+
of ticklabels, axis labels, and titles.
1212
1313
An alternative to *tight_layout* is :doc:`constrained_layout
1414
</tutorials/intermediate/constrainedlayout_guide>`.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.