Skip to content

Commit 20805b8

Browse files
authored
Merge pull request #16248 from anntzer/mpldoc
DOC: Update matplotlib.__doc__.
2 parents 15e8d38 + 4fd5296 commit 20805b8

File tree

1 file changed

+23
-36
lines changed

1 file changed

+23
-36
lines changed

lib/matplotlib/__init__.py

Lines changed: 23 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,69 +25,56 @@
2525
Modules include:
2626
2727
:mod:`matplotlib.axes`
28-
defines the `~matplotlib.axes.Axes` class. Most pyplot functions are
29-
wrappers for `~matplotlib.axes.Axes` methods. The axes module is the
30-
highest level of OO access to the library.
28+
The `~.axes.Axes` class. Most pyplot functions are wrappers for
29+
`~.axes.Axes` methods. The axes module is the highest level of OO
30+
access to the library.
3131
3232
:mod:`matplotlib.figure`
33-
defines the :class:`~matplotlib.figure.Figure` class.
33+
The `.Figure` class.
3434
3535
:mod:`matplotlib.artist`
36-
defines the :class:`~matplotlib.artist.Artist` base class for
37-
all classes that draw things.
36+
The `.Artist` base class for all classes that draw things.
3837
3938
:mod:`matplotlib.lines`
40-
defines the :class:`~matplotlib.lines.Line2D` class for
41-
drawing lines and markers
39+
The `.Line2D` class for drawing lines and markers.
4240
4341
:mod:`matplotlib.patches`
44-
defines classes for drawing polygons
42+
Classes for drawing polygons.
4543
4644
:mod:`matplotlib.text`
47-
defines the :class:`~matplotlib.text.Text` and
48-
:class:`~matplotlib.text.Annotate` classes
45+
The `.Text` and `.Annotation` classes.
4946
5047
:mod:`matplotlib.image`
51-
defines the :class:`~matplotlib.image.AxesImage` and
52-
:class:`~matplotlib.image.FigureImage` classes
48+
The `.AxesImage` and `.FigureImage` classes.
5349
5450
:mod:`matplotlib.collections`
55-
classes for efficient drawing of groups of lines or polygons
51+
Classes for efficient drawing of groups of lines or polygons.
5652
5753
:mod:`matplotlib.colors`
58-
classes for interpreting color specifications and for making
59-
colormaps
54+
Color specifications and making colormaps.
6055
6156
:mod:`matplotlib.cm`
62-
colormaps and the :class:`~matplotlib.image.ScalarMappable`
63-
mixin class for providing color mapping functionality to other
64-
classes
57+
Colormaps, and the `.ScalarMappable` mixin class for providing color
58+
mapping functionality to other classes.
6559
6660
:mod:`matplotlib.ticker`
67-
classes for calculating tick mark locations and for formatting
68-
tick labels
61+
Calculation of tick mark locations and formatting of tick labels.
6962
7063
:mod:`matplotlib.backends`
71-
a subpackage with modules for various gui libraries and output
72-
formats
64+
A subpackage with modules for various GUI libraries and output formats.
7365
7466
The base matplotlib namespace includes:
7567
76-
:data:`~matplotlib.rcParams`
77-
a global dictionary of default configuration settings. It is
78-
initialized by code which may be overridden by a matplotlibrc
79-
file.
68+
`~matplotlib.rcParams`
69+
Default configuration settings; their defaults may be overridden using
70+
a :file:`matplotlibrc` file.
8071
81-
:func:`~matplotlib.rc`
82-
a function for setting groups of rcParams values
72+
`~matplotlib.use`
73+
Setting the Matplotlib backend. This should be called before any
74+
figure is created, because it is not possible to switch between
75+
different GUI backends after that.
8376
84-
:func:`~matplotlib.use`
85-
a function for setting the matplotlib backend. If used, this
86-
function must be called immediately after importing matplotlib
87-
for the first time. In particular, it must be called
88-
**before** importing pyplot (if pyplot is imported).
89-
90-
matplotlib was initially written by John D. Hunter (1968-2012) and is now
77+
Matplotlib was initially written by John D. Hunter (1968-2012) and is now
9178
developed and maintained by a host of others.
9279
9380
Occasionally the internal documentation (python docstrings) will refer

0 commit comments

Comments
 (0)