A RetroSearch Logo

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

Search Query:

Showing content from https://ultraplot.readthedocs.io/en/latest/api/ultraplot.demos.show_cmaps.html below:

show_cmaps — UltraPlot documentation

UltraPlot show_cmaps
show_cmaps(*args, **kwargs)[source]

Generate a table of the registered colormaps or the input colormaps categorized by source. Adapted from this example.

Parameters:
  • *args (colormap-spec, optional) – Colormap names or objects.

  • N (int, default: rc['image.lut'] = 256) – The number of levels in each colorbar.

  • unknown (str, default: 'User') – Category name for colormaps that are unknown to ultraplot. Set this to False to hide unknown colormaps.

  • include (str or sequence of str, default: None) – Category names to be shown in the table. Use this to limit the table to a subset of categories. Valid categories are 'Grayscale', 'Matplotlib sequential', 'Matplotlib cyclic', 'Seaborn sequential', 'Seaborn diverging', 'UltraPlot sequential', 'UltraPlot diverging', 'Other sequential', 'Other diverging', 'cmOcean sequential', 'cmOcean diverging', 'cmOcean cyclic', 'Scientific colour maps sequential', 'Scientific colour maps diverging', 'Scientific colour maps cyclic', 'ColorBrewer2.0 sequential', 'ColorBrewer2.0 diverging', 'SciVisColor blues', 'SciVisColor greens', 'SciVisColor yellows', 'SciVisColor oranges', 'SciVisColor browns', 'SciVisColor reds', 'SciVisColor purples', 'MATLAB', 'GNUplot', 'GIST', 'Other'.

  • ignore (str or sequence of str, default: 'MATLAB', 'GNUplot', 'GIST', 'Other') – Used only if include was not passed. Category names to be removed from the table. Use of the default ignored colormaps is discouraged because they contain non-uniform color transitions (see the user guide).

  • length (unit-spec, optional) – The length of each colorbar. If float, units are inches. If string, interpreted by units.

  • width (float or str, optional) – The width of each colorbar. If float, units are inches. If string, interpreted by units.

  • rasterized (bool, default: rc['colorbar.rasterized'] = False) – Whether to rasterize the colorbar solids. This increases rendering time and decreases file sizes for vector graphics.

Returns:

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