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

Website Navigation


DiscreteColormap.save — ProPlot documentation

DiscreteColormap.save
DiscreteColormap.save(path=None, alpha=True)[source]

Save the colormap data to a file.

Parameters
  • path (path-like, optional) – The output filename. If not provided, the colormap is saved in the cycles subfolder in user_folder under the filename name.hex (where name is the color cycle name). Valid extensions are described in the below table.

    Extension

    Description

    .hex

    Comma-delimited list of HEX strings.

    .rgb, .txt

    3-4 column table of channel values.

  • alpha (bool, optional) – Whether to include an opacity column for .rgb and .txt files.


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