Named colors in matplotlib
Additional named colors
Updated 2017-10-25. I merged my previous updates into this section.
xkcd
If you would like to use additional named colors when plotting with matplotlib, you can use the xkcd crowdsourced color names, via the 'xkcd:' prefix:
plt.plot([1,2], lw=4, c='xkcd:baby poop green')
网友评论