ContinuousColormap.shifted

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.

Parameters
  • shift (float, optional) – The number of degrees to shift, out of 360 degrees. Default is 180.

  • name (str, optional) – The new colormap name. Default is '_name_s'.

Other Parameters

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