Created
October 10, 2014 18:32
-
-
Save hhuuggoo/d16dfac81b73cfc78dbc to your computer and use it in GitHub Desktop.
colormaps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib.colors import rgb2hex | |
import matplotlib.cm as cm | |
greys = [cm.Greys_r(x) for x in range(255)] | |
greys = [rgb2hex(x) for x in greys] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment