- ContinuousColormap.cut(cut=None, name=None, left=None, right=None, **kwargs)¶
Return a version of the colormap with the center “cut out”. This is great for making the transition from “negative” to “positive” in a diverging colormap more distinct.
float, optional) – The proportion to cut from the center of the colormap. For example,
cut=0.1cuts the central 10%, or
cut=-0.1fills the ctranl 10% of the colormap with the current central color (usually white).
'_name_copy') – The new colormap name.
float, optional) – The colormap index for the new “rightmost” color. Must fall between
- Other Parameters
ContinuousColormap– The colormap.