美文网首页matplotlib
Named colors in matplotlib

Named colors in matplotlib

作者: 榴莲气象 | 来源:发表于2019-06-02 11:19 被阅读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')
    

    相关文章

      网友评论

        本文标题:Named colors in matplotlib

        本文链接:https://www.haomeiwen.com/subject/xjfxxctx.html