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