|
4 | 4 | =============== |
5 | 5 |
|
6 | 6 | An introduction to the pyplot interface. Please also see |
7 | | -:doc:`/tutorials/introductory/quick_start` for an overview of how Matplotlib works. |
| 7 | +: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 |
| 9 | +supported user APIs. |
| 10 | +
|
8 | 11 | """ |
9 | 12 |
|
10 | 13 | ############################################################################### |
11 | 14 | # Intro to pyplot |
12 | 15 | # =============== |
13 | 16 | # |
14 | | -# :mod:`matplotlib.pyplot` is a collection of functions |
15 | | -# that make matplotlib work like MATLAB. |
16 | | -# Each ``pyplot`` function makes |
17 | | -# some change to a figure: e.g., creates a figure, creates a plotting area |
18 | | -# in a figure, plots some lines in a plotting area, decorates the plot |
19 | | -# with labels, etc. |
| 17 | +# :mod:`matplotlib.pyplot` is a collection of functions that make matplotlib |
| 18 | +# work like MATLAB. Each ``pyplot`` function makes some change to a figure: |
| 19 | +# e.g., creates a figure, creates a plotting area in a figure, plots some lines |
| 20 | +# in a plotting area, decorates the plot with labels, etc. |
20 | 21 | # |
21 | 22 | # In :mod:`matplotlib.pyplot` various states are preserved |
22 | 23 | # across function calls, so that it keeps track of things like |
|
28 | 29 | # |
29 | 30 | # .. note:: |
30 | 31 | # |
31 | | -# the pyplot API is generally less-flexible than the object-oriented API. |
32 | | -# Most of the function calls you see here can also be called as methods |
33 | | -# from an ``Axes`` object. We recommend browsing the tutorials and |
34 | | -# examples to see how this works. |
| 32 | +# the implicit pyplot API is generally terser but less-flexible than the |
| 33 | +# explicit API. Most of the function calls you see here can also be called |
| 34 | +# as methods from an ``Axes`` object. We recommend browsing the tutorials |
| 35 | +# and examples to see how this works. See :ref:`api_interfaces` for an |
| 36 | +# explanation of the trade off of the supported user APIs. |
35 | 37 | # |
36 | 38 | # Generating visualizations with pyplot is very quick: |
37 | 39 |
|
@@ -301,7 +303,7 @@ def f(t): |
301 | 303 | # and the current axes with `~.pyplot.cla`. If you find |
302 | 304 | # it annoying that states (specifically the current image, figure and axes) |
303 | 305 | # are being maintained for you behind the scenes, don't despair: this is just a thin |
304 | | -# stateful wrapper around an object oriented API, which you can use |
| 306 | +# stateful wrapper around an object-oriented API, which you can use |
305 | 307 | # instead (see :doc:`/tutorials/intermediate/artists`) |
306 | 308 | # |
307 | 309 | # If you are making lots of figures, you need to be aware of one |
|
0 commit comments