在每个子列表中,我将文件作为数据帧打开,绘制y1和y2 (我希望它们具有相同的颜色),然后移动到该列表中的下一个文件/数据帧,在该列表中,我希望两行的颜色与第一行不同。我的问题是如何定义我想要使用的色彩映射表?无论我选择使用什么cmap,以下内容似乎都不会对我的绘图输出产生任何影响:
for x in configurations: # configurationslist of list of directo
我每次在matplotlib import pandas上都会收到一个警告
/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py:872: UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latterwarnings.warn(self.msg_d
我有一个由几行组成的熊猫数据,每一行都是数字列表,希望使用seaborn.distplot将它们放在同一个轴上,并在标准调色板之间循环。我目前正在尝试:sns.distplot(data_pandas, color = next(iter.cycle(palette))) File "multiBx_single_plot.py", line 105, in <module>