matplotlib绘图(折线图/散点图/条形图/直方图/密度图)百度echarts绘图(https://www.echartsjs.com/examples/zh/index.html)
在图上显示数据折线图frommatplotlibimportpyplotfrommatplotlibimportfont_managermy_font=font_manager.FontProperties(fname="C:\Windows\Fonts\simhei.ttf")#引用中文字体,该字体为本地字体,word字体一般在此路径a=range(11,31)y=[1,0,1,1,2,4,3,