LinearSegmentedColormap.reversed

LinearSegmentedColormap.reversed(name=None, **kwargs)[source]

Return a reversed copy of the colormap, as in LinearSegmentedColormap.

Parameters

name (str, optional) – The new colormap name. Default is self.name + '_r'.

Other Parameters

**kwargs – Passed to LinearSegmentedColormap.copy or PerceptuallyUniformColormap.copy.