Bases: Normalize
Normalizer that ensures some central data value lies at the central colormap color. The default central value is 0
.
vcenter (float
, default: 0
) – The central data value.
vmin (float
, optional) – The minimum data value.
vmax (float
, optional) – The maximum data value.
clip (bool
, optional) – Whether to clip values falling outside of vmin
and vmax
.
fair (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. False
should be used with great care, as it may result in a misleading interpretation of your data.
Methods Summary
__call__
(value[, clip])
Normalize the data values to 0-1.
Get vmin and vmax, and then clip at vcenter.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4