cmap_from_act

typhon.plots.cmap_from_act(file, name=None)[source]

Import colormap from Adobe Color Table file.

Parameters:
  • file (str) – Path to act file.

  • name (str) – Colormap name. Defaults to filename without extension.

Returns:

LinearSegmentedColormap.