------------------------------------------------------------------------------------------------------------------------------------------------------------------
# 绘制简单图表 import matplotlib.pyplot as plt plt.plot([1,2,3,4,5]) plt.show()
![](/i/l/?n=23&i=blog/1644491/202211/1644491-20221127142137352-1427758896.png)
#散点图 import matplotlib.pyplot as plt plt.plot([1,2,3,4,5],[2,10,6,7,11],'ro') plt.show()
![](/i/l/?n=23&i=blog/1644491/202211/1644491-20221127142232623-1135018594.png)
标签:plot,plt,show,pyplot,matplotlib,72,68 From: https://www.cnblogs.com/988MQ/p/16929622.html