A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://proplot.readthedocs.io/en/latest/api/proplot.colors.ContinuousColormap.cut.html below:

ContinuousColormap.cut — ProPlot documentation

ProPlot ContinuousColormap.cut
ContinuousColormap.cut(cut=None, name=None, left=None, right=None, **kwargs)[source]

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.

Parameters
  • cut (float, optional) – The proportion to cut from the center of the colormap. For example, cut=0.1 cuts the central 10%, or cut=-0.1 fills the ctranl 10% of the colormap with the current central color (usually white).

  • name (str, default: '_name_copy') – The new colormap name.

  • left, right (float, default: 0, 1) – The colormap indices for the “leftmost” and “rightmost” colors. See truncate for details.

  • right (float, optional) – The colormap index for the new “rightmost” color. Must fall between

Other Parameters

**kwargs – Passed to ContinuousColormap.copy or PerceptualColormap.copy.

Returns

ContinuousColormap – The colormap.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4