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'
.**kwargs – Passed to
LinearSegmentedColormap.updated
orPerceptuallyUniformColormap.updated
.