LinearSegmentedNorm(levels, vmin=None, vmax=None, clip=False)¶
This is the default normalizer paired with
levelsare non-linearly spaced. The normalized value is linear with respect to its average index in the
levelsvector, allowing uniform color transitions across arbitrarily spaced monotonically increasing values. Can be explicitly used by passing
norm='segmented'to any command accepting
levels (list of float) – The discrete data levels.
vmin, vmax (None) – Ignored.
vmaxare set to the minimum and maximum of
clip (bool, optional) – Whether to clip values falling outside of the minimum and maximum levels.
Normalize the data values to 0-1.
Inverse operation of