8000 Fix wording and links lifecycle tutorial (#24003) · matplotlib/matplotlib@d226954 · GitHub
[go: up one dir, main page]

Skip to content

Commit d226954

Browse files
oscargusstory645timhoffm
authored
Fix wording and links lifecycle tutorial (#24003)
* Fix wording and links lifecycle tutorial * Apply suggestions from code review Co-authored-by: hannah <story645@gmail.com> * Update tutorials/introductory/lifecycle.py Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> * Update tutorials/introductory/lifecycle.py Co-authored-by: hannah <story645@gmail.com> Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
1 parent 0c5b792 commit d226954

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorials/introductory/lifecycle.py

Lines changed: 5 additions & 5 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@
2626
In the explicit object-oriented (OO) interface we directly utilize instances of
2727
:class:`axes.Axes` to build up the visualization in an instance of
2828
:class:`figure.Figure`. In the implicit interface, inspired by and modeled on
29-
MATLAB, uses an global state-based interface which is encapsulated in the
29+
MATLAB, we use a global state-based interface which is encapsulated in the
3030
:mod:`.pyplot` module to plot to the "current Axes". See the :doc:`pyplot
3131
tutorials </tutorials/introductory/pyplot>` for a more in-depth look at the
3232
pyplot interface.
3333
3434
Most of the terms are straightforward but the main thing to remember
3535
is that:
3636
37-
* The Figure is the final image that may contain 1 or more Axes.
38-
* The Axes represent an individual plot (don't confuse this with the word
39-
"axis", which refers to the x/y axis of a plot).
37+
* The `.Figure` is the final image, and may contain one or more `~.axes.Axes`.
38+
* The `~.axes.Axes` represents an individual plot (not to be confused with
39+
`~.axis.Axis`, which refers to the x/y axis of a plot).
4040
4141
We call methods that do the plotting directly from the Axes, which gives
4242
us much more flexibility and power in customizing our plot.
4343
4444
.. note::
4545
46-
In general prefer the explicit interface over the implicit pyplot interface
46+
In general, use the explicit interface over the implicit pyplot interface
4747
for plotting.
4848
4949
Our data

0 commit comments

Comments
 (0)
0