There was an error while loading. Please reload this page.
1 parent 05956d3 commit cb0a742Copy full SHA for cb0a742
1 file changed
tutorials/colors/colormapnorms.py
@@ -12,10 +12,10 @@
12
case).
13
14
Matplotlib does this mapping in two steps, with a normalization from
15
-[0, 1] occurring first, and then mapping onto the indices in the
16
-colormap. Normalizations are classes defined in the
17
-:func:`matplotlib.colors` module. The default, linear normalization is
18
-:func:`matplotlib.colors.Normalize`.
+the input data to [0, 1] occurring first, and then mapping onto the
+indices in the colormap. Normalizations are classes defined in the
+:func:`matplotlib.colors` module. The default, linear normalization
+is :func:`matplotlib.colors.Normalize`.
19
20
Artists that map data to color pass the arguments *vmin* and *vmax* to
21
construct a :func:`matplotlib.colors.Normalize` instance, then call it:
@@ -41,6 +41,7 @@
41
:math:`log_{10}`. In the example below, there are two bumps, one much smaller
42
than the other. Using `.colors.LogNorm`, the shape and location of each bump
43
can clearly be seen:
44
+
45
"""
46
import numpy as np
47
import matplotlib.pyplot as plt
0 commit comments