Skip to content

Python code snippet – How to reverse a color in cmap?

cmap = 'hot' # the color hot

cmap = 'hot_r' # the reverse of the color hot 
See also  Python code snippet - How to change background of tkinter window?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.