Skip to content

Commit e80f6b8

Browse files
committed
More edits
1 parent 94ced26 commit e80f6b8

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

doc/api/index.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ API
88

99
For recent changes, see :doc:`api_changes`.
1010

11-
Much of the library can be accessed by creating :doc:`Figure <figure_api>`
12-
and :doc:`Axes <axes_api>` objects and accessing methods on them.
11+
Much of the library is accessed by creating :doc:`Figure <figure_api>`
12+
and :doc:`Axes <axes_api>` objects and calling methods on them.
1313

1414
- :doc:`figure_api`: axes creation, figure-level artists
1515
- :doc:`axes_api`: most plotting methods, axes labels, access to
1616
axis styling, etc.
1717

18-
Simple example: note how the ``ax`` object has the `.axes.Axes.plot` method
19-
that is used to create the line plot.
18+
19+
(Note that there is also a parallel `matplotlib.pyplot` API interface
20+
that is considered useful for interactive work; see
21+
:ref:`usage patterns <usage_patterns>`, below).
22+
23+
Simple example: the ``ax`` object has an `.axes.Axes.plot` method
24+
that is used to create the line plot.
2025

2126
.. plot::
2227
:include-source:
@@ -125,7 +130,9 @@ Matplotlib. The following toolkits are included:
125130
toolkits/axisartist.rst
126131
toolkits/axes_grid.rst
127132

128-
133+
134+
.. _usage_patterns:
135+
129136
Usage patterns
130137
--------------
131138

0 commit comments

Comments
 (0)