cmap2act

typhon.plots.cmap2act(cmap, filename=None, N=None)[source]

Export colormap to Adobe Color Table file.

Parameters:
  • cmap (str) – Colormap name.
  • filename (str) – Optional filename. Default: cmap + ‘.cpt’
  • N (int) – Number of colors.