我在读杰克·范德普拉斯()的优秀代码,用来绘制沿着正弦曲线移动的点:This short code snippet utilizes the new animation package inmatplotlib 1.1.0; it's the shortest snippet that I know of that can
produce an animated plot in pythonanimation.FuncAnimation(fig, simPoints, si
我有一个简单的代码:plt.plot([1,2,5])它在jupyter笔记本中工作得很好,但是当我尝试使用命令行运行它时pyplot.py", line 525, in figure File "/home/user/.local/lib/python3.6/site-packages/matplotlib的</