import numpy as npimport matplotlib.pyplot as pltt = np.arange(0, 4, 0.1)plt.plot(t,t,t,t+2,t,t**2)
numpy包和matplotlib都安装到最新版本。
你只是赋值,没显示呀plt.show()看看