如何使该图中的一条线与其他线条具有不同的颜色?

时间:2019-03-31 23:47:31

标签: python pandas matplotlib seaborn

我有一张图,我想使其中的一行颜色不同

尝试使用matplotlib建议,这使我可以打印两个图形

import numpy as np
import pandas as pd
import seaborn as sns

data = pd.read_csv("C:\\Users\\Nathan\\Downloads\\markouts_changed_maskedNEW.csv");
data.columns = ["Yeet","Yeet1","Yeet 2","Yeet 3","Yeet 4","Yeet 7","Exchange 5","Yeet Average","Intelligent Yeet"];
mpg = data[data.columns]
mpg.plot(color='green', linewidth=2.5)

0 个答案:

没有答案