colorbar
- compas_fea2.utilities.colorbar(fsc, input='array', type=255)
Creates RGB color information from -1 to 1 scaled values.
- Parameters
- fscarray, float
(n x 1) array of scaled data, or a single float value.
- inputstr
Input given as an ‘array’ of numbers or a ‘float’.
- typeint
RGB as 255 or 1 scaled.
- Returns
- array, list
(n x 3) array of RGB values or single RGB list.