------------------------------------------------------------------------------------------------------------------------------------------------------------
#画布设置颜色和大小 #折线图设置标记样式,,mfc='w'表示空心 import matplotlib.pyplot as plt x=[1,2,3,4,5] y=[2,10,6,7,17] plt.figure(facecolor='yellow',figsize=(5,3)) plt.plot(x,y,marker='o',color='r',mfc='w') #r表示颜色,1表示标记样式(下花三角标记) plt.show()
标签:plt,颜色,标记,画布,75,mfc,设置,图标 From: https://www.cnblogs.com/988MQ/p/16929905.html