File tree Expand file tree Collapse file tree 11 files changed +32
-18
lines changed
Filter options
Expand file tree Collapse file tree 11 files changed +32
-18
lines changed
Original file line number Diff line number Diff line change 14
14
Animation
15
15
=========
16
16
17
- The easiest way to make a live animation in matplotlib is to use one of the
17
+ The easiest way to make a live animation in Matplotlib is to use one of the
18
18
`Animation ` classes.
19
19
20
20
.. autosummary ::
@@ -29,7 +29,7 @@ In both cases it is critical to keep a reference to the instance
29
29
object. The animation is advanced by a timer (typically from the host
30
30
GUI framework) which the `Animation ` object holds the only reference
31
31
to. If you do not hold a reference to the `Animation ` object, it (and
32
- hence the timers), will be garbage collected which will stop the
32
+ hence the timers) will be garbage collected which will stop the
33
33
animation.
34
34
35
35
To save an animation to disk use `Animation.save ` or `Animation.to_html5_video `
Original file line number Diff line number Diff line change 2
2
``matplotlib.colors ``
3
3
*********************
4
4
5
- The Color :ref: `tutorials <tutorials-colors >` and :ref: `examples
6
- <color_examples>` demonstrate how to set colors and colormaps.
5
+ .. note ::
6
+
7
+ The Color :ref: `tutorials <tutorials-colors >` and :ref: `examples
8
+ <color_examples>` demonstrate how to set colors and colormaps. You may want
9
+ to read those instead.
7
10
8
11
.. currentmodule :: matplotlib.colors
9
12
Original file line number Diff line number Diff line change 4
4
5
5
.. inheritance-diagram :: matplotlib.dates
6
6
:parts: 1
7
+ :top-classes: matplotlib.ticker.Formatter, matplotlib.ticker.Locator
7
8
8
9
.. automodule :: matplotlib.dates
9
10
:members:
Original file line number Diff line number Diff line change 2
2
``matplotlib.transforms ``
3
3
*************************
4
4
5
- .. inheritance-diagram :: matplotlib.transforms matplotlib.path
5
+ .. inheritance-diagram :: matplotlib.transforms
6
6
:parts: 1
7
7
8
8
.. automodule :: matplotlib.transforms
Original file line number Diff line number Diff line change 1
1
"""
2
2
A python interface to Adobe Font Metrics Files.
3
3
4
- Although a number of other python implementations exist, and may be more
4
+ Although a number of other Python implementations exist, and may be more
5
5
complete than this, it was decided not to go with them because they were
6
6
either:
7
7
Original file line number Diff line number Diff line change 1
1
"""
2
2
Default legend handlers.
3
3
4
- It is strongly encouraged to have read the :doc:`legend guide
5
- </tutorials/intermediate/legend_guide>` before this documentation.
4
+ .. important::
5
+
6
+ It is strongly encouraged to have read the :doc:`legend guide
7
+ </tutorials/intermediate/legend_guide>` before this documentation.
6
8
7
9
Legend handlers are expected to be a callable object with a following
8
10
signature. ::
Original file line number Diff line number Diff line change 1
1
"""
2
- Numerical python functions written for compatibility with MATLAB
3
- commands with the same names. Most numerical python functions can be found in
4
- the `numpy` and `scipy` libraries. What remains here is code for performing
2
+ Numerical Python functions written for compatibility with MATLAB
3
+ commands with the same names. Most numerical Python functions can be found in
4
+ the `NumPy`_ and `SciPy`_ libraries. What remains here is code for performing
5
5
spectral computations.
6
6
7
+ .. _NumPy: https://numpy.org
8
+ .. _SciPy: https://www.scipy.org
9
+
7
10
Spectral functions
8
11
------------------
9
12
Original file line number Diff line number Diff line change 9
9
"""
10
10
Tables drawing.
11
11
12
+ .. note::
13
+ The table implementation in Matplotlib is lightly maintained. For a more
14
+ featureful table implementation, you may wish to try `blume
15
+ <https://github.com/swfiua/blume>`_.
16
+
12
17
Use the factory function `~matplotlib.table.table` to create a ready-made
13
18
table from texts. If you need more control, use the `.Table` class and its
14
19
methods.
Original file line number Diff line number Diff line change 17
17
in ~/.matplotlib/tex.cache for reuse between sessions.
18
18
19
19
`TexManager.get_rgba` can also be used to directly obtain raster output as RGBA
20
- numpy arrays.
20
+ NumPy arrays.
21
21
"""
22
22
23
23
import functools
Original file line number Diff line number Diff line change 3
3
nicely fit in the figure. In doing so, only axis labels, tick labels, axes
4
4
titles and offsetboxes that are anchored to axes are currently considered.
5
5
6
- Internally, this module assumes that the margins (left_margin , etc.) which are
7
- differences between ax .get_tightbbox and ax .bbox are independent of axes
8
- position. This may fail if Axes.adjustable is datalim. Also, This will fail
9
- for some cases (for example, left or right margin is affected by xlabel) .
6
+ Internally, this module assumes that the margins (left margin , etc.) which are
7
+ differences between ``Axes .get_tightbbox`` and ``Axes .bbox`` are independent of
8
+ Axes position. This may fail if `` Axes.adjustable`` is `` datalim`` as well as
9
+ such cases as when left or right margin are affected by xlabel.
10
10
"""
11
11
12
12
import numpy as np
Original file line number Diff line number Diff line change 5
5
units and units conversion. Use cases include converters for custom
6
6
objects, e.g., a list of datetime objects, as well as for objects that
7
7
are unit aware. We don't assume any particular units implementation;
8
- rather a units implementation must provide the register with the Registry
9
- converter dictionary and a `ConversionInterface`. For example,
8
+ rather a units implementation must register with the Registry converter
9
+ dictionary and provide a `ConversionInterface`. For example,
10
10
here is a complete implementation which supports plotting with native
11
11
datetime objects::
12
12
You can’t perform that action at this time.
0 commit comments