Matplotlib is hiring a Research Software Engineering Fellow! See discourse for details. Apply by January 3, 2020
一种最简单的绘图方法,即根据索引绘制数字列表。
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
以下函数、方法、类和模块的使用如本例所示:
import matplotlib
matplotlib.pyplot.plot
matplotlib.pyplot.ylabel
matplotlib.pyplot.show