ListedColormap.updated

ListedColormap.updated(colors=None, name=None, N=None, *, alpha=None)[source]

Creates copy of the colormap.

Parameters
  • name (str) – The colormap name. Default is self.name + '_updated'.

  • colors, N, alpha (optional) – See ListedColormap. If not provided, these are copied from the current colormap.