File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1212case).
1313
1414Matplotlib 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`.
15+ the input data to [0, 1] occurring first, and then mapping onto the
16+ indices in the colormap. Normalizations are classes defined in the
17+ :func:`matplotlib.colors` module. The default, linear normalization
18+ is :func:`matplotlib.colors.Normalize`.
1919
2020Artists that map data to color pass the arguments *vmin* and *vmax* to
2121construct a :func:`matplotlib.colors.Normalize` instance, then call it:
4141:math:`log_{10}`. In the example below, there are two bumps, one much smaller
4242than the other. Using `.colors.LogNorm`, the shape and location of each bump
4343can clearly be seen:
44+
4445"""
4546import numpy as np
4647import matplotlib .pyplot as plt
You can’t perform that action at this time.
0 commit comments