Skip to content

Commit 1c7875d

Browse files
authored
ERRATUM: incorrect ordering of plt.axis arguments
plt.axes args are [left, bottom, width, height]
2 parents a2cf70a + fd31b88 commit 1c7875d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/04.08-Multiple-Subplots.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"The most basic method of creating an axes is to use the ``plt.axes`` function.\n",
6060
"As we've seen previously, by default this creates a standard axes object that fills the entire figure.\n",
6161
"``plt.axes`` also takes an optional argument that is a list of four numbers in the figure coordinate system.\n",
62-
"These numbers represent ``[bottom, left, width, height]`` in the figure coordinate system, which ranges from 0 at the bottom left of the figure to 1 at the top right of the figure.\n",
62+
"These numbers represent ``[left, bottom, width, height]`` in the figure coordinate system, which ranges from 0 at the bottom left of the figure to 1 at the top right of the figure.\n",
6363
"\n",
6464
"For example, we might create an inset axes at the top-right corner of another axes by setting the *x* and *y* position to 0.65 (that is, starting at 65% of the width and 65% of the height of the figure) and the *x* and *y* extents to 0.2 (that is, the size of the axes is 20% of the width and 20% of the height of the figure):"
6565
]

0 commit comments

Comments
 (0)