python invert colormap code example Example: python invert colormap cmap_reversed = matplotlib.cm.get_cmap('autumn_r')