I would like to know how to simply reverse the color order of a given colormap in order to use it with plot_surface.
Python – Reverse colormap in matplotlib
matplotlibpython
Related Topic
- Python – How to parse a string to a float or int
- Python – Convert bytes to a string
- Python – How to sort a dictionary by value
- Python – “Least Astonishment” and the Mutable Default Argument
- Python – Save plot to image file instead of displaying it using Matplotlib
- Python – How to select rows from a DataFrame based on column values
- Sql – Microsoft Access ADP UPDATE Query does NOT update
Best Answer
The standard colormaps also all have reversed versions. They have the same names with
_r
tacked on to the end. (Documentation here.)