Skip to content

Commit fe424c5

Browse files
tacaswellgreglucas
andauthored
DOC: fix typos / wording
Co-authored-by: Greg Lucas <[email protected]>
1 parent 512a006 commit fe424c5

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

doc/api/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ Usage patterns
115115
--------------
116116

117117
Below we describe several common approaches to plotting with Matplotlib. See
118-
:ref:`api_interfaces` for an explanation of the trade off of the supported user
118+
:ref:`api_interfaces` for an explanation of the trade-offs between the supported user
119119
APIs.
120120

121121

122-
The Explicit API
122+
The explicit API
123123
^^^^^^^^^^^^^^^^
124124

125125
At its core, Matplotlib is an object-oriented library. We recommend directly
126-
working with the objects, if you need more control and customization of your
126+
working with the objects if you need more control and customization of your
127127
plots.
128128

129129
In many cases you will create a `.Figure` and one or more

examples/misc/pythonic_matplotlib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
Pythonic Matplotlib
44
===================
55
6-
Some people prefer to write more "Pythonic", explicitly object-oriented code
7-
rather than use the implicit pyplot interface to Matplotlib. This example
8-
shows you how.
6+
Some people prefer to write more "Pythonic", explicit object-oriented code,
7+
rather than use the implicit pyplot interface to Matplotlib. This example
8+
shows you how to take advantage of the explicit Matplotlib interface.
99
1010
Unless you are an application developer, I recommend using part of the
1111
pyplot interface, particularly the figure, close, subplot, axes, and

examples/subplots_axes_and_figures/multiple_figs_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
1111
.. note::
1212
13-
We discourage working with multiple figures in implicit pyplot interface
13+
We discourage working with multiple figures through the implicit pyplot interface
1414
because managing the *current figure* is cumbersome and
15-
error-prone. Instead, we recommend to use the explicit approach and call
15+
error-prone. Instead, we recommend using the explicit approach and call
1616
methods on Figure and Axes instances. See :ref:`api_interfaces` for an
17-
explanation of the tradeoffs between the implicit and explicit interfaces.
17+
explanation of the trade-offs between the implicit and explicit interfaces.
1818
1919
"""
2020
import matplotlib.pyplot as plt

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
For the most part, direct use of the explicit object-oriented library is
2121
encouraged when programming; the implicit pyplot interface is primarily for
22-
working interactively. The exceptions are the pyplot functions
22+
working interactively. The exceptions to this suggestion are the pyplot functions
2323
`.pyplot.figure`, `.pyplot.subplot`, `.pyplot.subplots`, and `.pyplot.savefig`,
2424
which can greatly simplify scripting. See :ref:`api_interfaces` for an
2525
explanation of the tradeoffs between the implicit and explicit interfaces.

tutorials/introductory/lifecycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
A note on the explicit vs. implicit interfaces
2121
==============================================
2222
23-
Matplotlib has two interfaces. For an explanation of the tradeoffs between the
23+
Matplotlib has two interfaces. For an explanation of the trade-offs between the
2424
implicit and explicit interfaces see :ref:`api_interfaces`.
2525
2626
The first is an explicit object-oriented (OO) interface. In this case, we

tutorials/introductory/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
An introduction to the pyplot interface. Please also see
77
:doc:`/tutorials/introductory/quick_start` for an overview of how Matplotlib
8-
works and :ref:`api_interfaces` for an explanation of the trade off of the
8+
works and :ref:`api_interfaces` for an explanation of the trade-offs between the
99
supported user APIs.
1010
1111
"""

0 commit comments

Comments
 (0)