- class DivergingNorm(vcenter=0, vmin=None, vmax=None, fair=True, clip=None)[source]¶
Normalizer that ensures some central data value lies at the central colormap color. The default central value is
0) – The data value corresponding to the central colormap position.
float, optional) – The minimum data value.
float, optional) – The maximum data value.
bool, optional) – If
True(default), the speeds of the color gradations on either side of the center point are equal, but colormap colors may be omitted. If
False, all colormap colors are included, but the color gradations on one side may be faster than the other side.
Falseshould be used with great care, as it may result in a misleading interpretation of your data.
bool, optional) – Whether to clip values falling outside of
Normalize the data values to 0-1.
Get vmin and vmax, and then clip at vcenter.