LinearSegmentedColormap.reversed¶
- LinearSegmentedColormap.reversed(name=None, **kwargs)[source]¶
Return a reversed copy of the colormap.
- Parameters
name (str, optional) – The name of the new colormap. Default is
self.name + '_r'
.- Other Parameters
**kwargs – Passed to
LinearSegmentedColormap.copy
orPerceptuallyUniformColormap.copy
.