Pyplot 简单图(Simple)
A most simple plot, where a list of numbers is plotted against their index.
import matplotlib.pyplot as pltplt.plot([1,2,3,4])plt.ylabel('some numbers')plt.show()

参考
此示例显示了以下函数、方法、类和模块的使用:
import matplotlibmatplotlib.pyplot.plotmatplotlib.pyplot.ylabelmatplotlib.pyplot.show
