Skip to content

Instantly share code, notes, and snippets.

@hhuuggoo
Created October 10, 2014 18:32
Show Gist options
  • Save hhuuggoo/d16dfac81b73cfc78dbc to your computer and use it in GitHub Desktop.
Save hhuuggoo/d16dfac81b73cfc78dbc to your computer and use it in GitHub Desktop.
colormaps
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