如何避免 matplotlib.pyplot 中的线条颜色重复?答案

您所在的位置:网站首页 matplotlibpyplot颜色 如何避免 matplotlib.pyplot 中的线条颜色重复?答案

如何避免 matplotlib.pyplot 中的线条颜色重复?答案

#如何避免 matplotlib.pyplot 中的线条颜色重复?答案| 来源: 网络整理| 查看: 265

【问题标题】:How to avoid line color repetition in matplotlib.pyplot?如何避免 matplotlib.pyplot 中的线条颜色重复? 【发布时间】:2011-08-27 00:40:27 【问题描述】:

我正在使用 matplotlib.pyplot 比较一些算法结果,但是很难理解发生了什么,因为几行具有相同的确切颜色。有没有办法避免这种情况?我不认为 pyplot 只有七种颜色,是吗?

【问题讨论】:

matplotlib.sourceforge.net/users/pyplot_tutorial.html 我建议你看看这个帖子:stackoverflow.com/questions/4805048/…

标签: python colors matplotlib plot



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3