Python 绘图库的使用:matplotlib
Matplotlib 官方API地址:https://matplotlib.org/
例子:
import matplotlib.pyplot as plt num_list=[1.5,0.6,7.8,6,9] plt.bar(range(len(num_list)),num_list,color='rgb') plt.show() plt.plot([1,2,3,4]) plt.ylabel('some numbers') plt.show()
posted on 2018-01-24 11:04 CuriousZero 阅读(360) 评论(0) 编辑 收藏 举报