updated(name=None, segmentdata=None, N=None, *, alpha=None, gamma=None, cyclic=None)[source]¶
Return a new colormap, with relevant properties copied from this one if they were not provided as keyword arguments.
name (str) – The colormap name. Default is
self.name + '_updated'.
segmentdata, N, alpha, gamma, cyclic (optional) – See
LinearSegmentedColormap. If not provided, these are copied from the current colormap.