matplotlib

Named colors in matplotlib

2019-06-02  本文已影响2人  榴莲气象

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')
上一篇 下一篇

猜你喜欢

热点阅读