DiscreteColormap.append

DiscreteColormap.append(*args, name=None, N=None, **kwargs)[source]

Append arbitrary colormaps onto this colormap.

Parameters
  • *args – Instances of DiscreteColormap.

  • name (str, optional) – The new colormap name. Default is to merge each name with underscores and prepend a leading underscore, for example _name1_name2.

  • N (int, optional) – The number of points in the colormap lookup table. Default is the number of colors in the concatenated lists.

Other Parameters

**kwargs – Passed to copy.