解决方法很简单,加一个plt.show():

datas.plot()
plt.show()

这一点没有spyder中方便。