8000 Merge pull request #29585 from timhoffm/doc-tight_layout_converge · matplotlib/matplotlib@91f52bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 91f52bc

Browse files
authored
Merge pull request #29585 from timhoffm/doc-tight_layout_converge
DOC: Document that tight_layout may not converge
2 parents 0bf042c + 3807a32 commit 91f52bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

galleries/users_explain/axes/tight_layout_guide.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@ def example_plot(ax, fontsize=12):
165165
# a limitation of the current algorithm, and it is not clear why it
166166
# happens. Meanwhile, use of pad larger than 0.3 is recommended.
167167
#
168+
# * The algorithm of ``tight_layout`` does not necessarily converge,
169+
# i.e. calling ``tight_layout`` multiple times can lead to slight
170+
# variations in the layout between the calls.
171+
#
168172
# Use with GridSpec
169173
# =================
170174
#

0 commit comments

Comments
 (0)
0