LinearSegmentedColormap.reversed¶
-
LinearSegmentedColormap.reversed(name=None, **kwargs)[source]¶ Returns 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.updatedorPerceptuallyUniformColormap.updated.