FuncAnimation(fig, run, frames=10, interval=10, init_func=init) # 製作動畫 ani.save('animation.gif', fps=10) # 儲存為gif plt.show().
確定! 回上一頁