摘要:
散点图绘制 from matplotlib import pyplot as plt import random from matplotlib import font_manager myfont = font_manager.FontProperties(fname="C:\Windows\Fo 阅读全文
摘要:
1、导入模块 from matplotlib import pyplot as plt 2、设置x,y的参数 x = range(2,26,2) y = [15,13,14,5,17,20,25,26,26,27,22,18] 3、绘制图片plot plt.plot(x, y) 4、显示图形 plt 阅读全文