8000
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 62dbc20 commit 6930821Copy full SHA for 6930821
tutorials/intermediate/constrainedlayout_guide.py
@@ -1,3 +1,5 @@
1
+import matplotlib
2
+
3
"""
4
================================
5
Constrained Layout Guide
@@ -30,7 +32,7 @@
30
32
31
33
.. warning::
34
- As of Matplotlib 2.2, Constrained Layout is **experimental**. The
35
+ As of Matplotlib {version}, Constrained Layout is **experimental**. The
36
behaviour and API are subject to change, or the whole functionality
37
may be removed without a deprecation period. If you *require* your
38
plots to be absolutely reproducible, get the Axes positions after
@@ -45,7 +47,7 @@
45
47
titles (or sometimes even ticklabels) go outside the figure area, and are thus
46
48
clipped.
49
-"""
50
+""".format(version=matplotlib.__version__)
51
52
# sphinx_gallery_thumbnail_number = 18
53
0 commit comments