ContinuousColormap.shifted(shift=180, name=None, **kwargs)[source]

Return a cyclicaly shifted version of the colormap. If the colormap cyclic property is set to False a warning will be raised.

  • shift (float, default: 180) – The number of degrees to shift, out of 360 degrees.

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

Other Parameters

**kwargs – Passed to ContinuousColormap.copy or PerceptualColormap.copy.