mirror of
https://github.com/balkian/gists.git
synced 2024-11-25 10:42:28 +00:00
d6baea1a6c
git-subtree-dir: repos/e654835d4263378a3ac8 git-subtree-mainline:710c067e29
git-subtree-split:04eaafc293
4 lines
123 B
Python
4 lines
123 B
Python
from matplotlib.pyplot import cm
|
|
color=cm.rainbow(np.linspace(0,1,len(emotions)))
|
|
color = dict(zip(emotions, color))
|
|
color |