ContinuousColormap.to_discrete¶
- ContinuousColormap.to_discrete(samples=10, name=None, **kwargs)[source]¶
Convert the
ContinuousColormapto aDiscreteColormapby drawing samples from the colormap.- Parameters
- Other Parameters
**kwargs – Passed to
DiscreteColormap.
See also