1- Plotting commands summary
2- =========================
1+ Below we describe several common approaches to plotting with Matplotlib.
2+
3+ .. contents ::
4+
5+ The Pyplot API
6+ --------------
37
48The :mod: `matplotlib.pyplot ` module contains functions that allow you to generate
59many kinds of plots quickly. For examples that showcase the use
610of the :mod: `matplotlib.pyplot ` module, see the
711:ref: `sphx_glr_tutorials_01_introductory_pyplot.py `
8- or the :ref: `pyplots_examples `.
12+ or the :ref: `pyplots_examples `. We also recommend that you look into
13+ the object-oriented approach to plotting, described below.
14+
15+ .. currentmodule :: matplotlib.pyplot
16+
17+ .. autofunction :: plotting
918
1019The Object-Oriented API
1120-----------------------
21+
1222Most of these functions also exist as methods in the
1323:class: `matplotlib.axes.Axes ` class. You can use them with the
1424so-called "Object Oriented" approach to Matplotlib.
@@ -19,11 +29,13 @@ we recommend using the object-oriented approach for more control
1929and customization of your plots. For some examples of the OO approach
2030to Matplotlib, see the :ref: `api_examples ` examples.
2131
22- The Pyplot API
23- --------------
32+ Colors in Matplotlib
33+ --------------------
2434
25- .. currentmodule :: matplotlib.pyplot
35+ There are many colormaps you can use to map data onto color values.
36+ Below we list several ways in which color can be utilized in Matplotlib.
2637
27- .. autofunction :: plotting
38+ For a more in-depth look at colormaps, see the
39+ :ref: `sphx_glr_tutorials_colors_colormaps.py ` tutorial.
2840
2941.. autofunction :: colormaps
0 commit comments