PerceptuallyUniformColormap.updated

PerceptuallyUniformColormap.updated(name=None, segmentdata=None, N=None, *, alpha=None, gamma=None, cyclic=None, clip=None, gamma1=None, gamma2=None, space=None)[source]

Returns a new colormap, with relevant properties copied from this one if they were not provided as keyword arguments.

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

  • segmentdata, N, alpha, clip, cyclic, gamma, gamma1, gamma2, space (optional) – See PerceptuallyUniformColormap. If not provided, these are copied from the current colormap.