Skip to content

Commit 5ab6f70

Browse files
jklymakQuLogic
andauthored
Apply suggestions from code review
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 257494f commit 5ab6f70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/users/explain/api_interfaces.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This can be convenient, particularly when doing interactive work or simple
7575
scripts. A reference to the current Figure can be retrieved using
7676
`~.pyplot.gcf` and to the current Axes by `~.pyplot.gca`. The `~.pyplot` module
7777
retains a list of Figures, and each Figure retains a list of Axes on the figure
78-
for the user so that the following are all equivalent:
78+
for the user so that the following:
7979

8080
.. plot::
8181
:include-source:
@@ -89,7 +89,7 @@ for the user so that the following are all equivalent:
8989
plt.subplot(1, 2, 2)
9090
plt.plot([3, 2, 1], [0, 0.5, 0.2])
9191

92-
is equivalent to
92+
is equivalent to:
9393

9494
.. plot::
9595
:include-source:
@@ -203,7 +203,7 @@ and then implements a ``plot`` method:
203203
import matplotlib.pyplot as plt
204204

205205
# supplied by downstream library:
206-
class DataContainer():
206+
class DataContainer:
207207

208208
def __init__(self, x, y):
209209
"""
@@ -260,7 +260,7 @@ Similarly, the declarative interfaces provided by partner libraries use the
260260
objects accessible by the "Axes" interface, and often accept these as arguments
261261
or pass them back from methods. It is usually essential to use the explicit
262262
"Axes" interface to perform any customization of the default visualization, or
263-
to unpack the data into numpy arrays and pass directly to Matplotlib.
263+
to unpack the data into NumPy arrays and pass directly to Matplotlib.
264264

265265
Appendix: "Axes" interface with data structures
266266
-----------------------------------------------

0 commit comments

Comments
 (0)