import matplotlib.pyplot as plt
val_f1_list=[1,2,3]
train_f1_list=[2,3,4]
plt.figure(figsize=[20,9])
plt.plot(val_f1_list,label="val_f1",color="#F08080")
plt.plot(train_f1_list,label="train_f1",color="#0B7093")
plt.legend()
plt.show()
matplotlib一图画两线
最新推荐文章于 2023-06-07 00:02:47 发布