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

Website Navigation


ContinuousColormap.from_file — ProPlot documentation

ContinuousColormap.from_file
classmethod ContinuousColormap.from_file(path, *, warn_on_failure=False)[source]

Load colormap from a file.

Parameters
  • path (path-like) – The file path. Valid file extensions are shown in the below table.

    Extension

    Description

    .json

    JSON database of the channel segment data.

    .hex

    Comma-delimited list of HEX strings.

    .rgb, .txt

    3-4 column table of channel values.

  • warn_on_failure (bool, optional) – If True, issue a warning when loading fails instead of raising an error.


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