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

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

  • name (str, default: '_name_copy') – The new colormap name.

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