LinearColormap
-
class skimage.viewer.utils.LinearColormap(name, segmented_data, **kwargs)[source] -
Bases:
matplotlib.colors.LinearSegmentedColormapLinearSegmentedColormap in which color varies smoothly.
This class is a simplification of LinearSegmentedColormap, which doesn’t support jumps in color intensities.
Parameters: name : str
Name of colormap.
segmented_data : dict
Dictionary of ‘red’, ‘green’, ‘blue’, and (optionally) ‘alpha’ values. Each color key contains a list of
x,ytuples.xmust increase monotonically from 0 to 1 and corresponds to input values for a mappable object (e.g. an image).ycorresponds to the color intensity.-
__init__(name, segmented_data, **kwargs)[source]
-
Please login to continue.