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.truncate.html below:

ContinuousColormap.truncate — ProPlot documentation

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

Return a truncated version of the colormap.

Parameters
  • left (float, default: 0) – The colormap index for the new “leftmost” color. Must fall between 0 and 1. For example, left=0.1 cuts the leftmost 10%% of the colors.

  • right (float, default: 1) – The colormap index for the new “rightmost” color. Must fall between 0 and 1. For example, right=0.9 cuts the leftmost 10%% of the colors.

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

Other Parameters

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


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