繪製動圖的關鍵是不斷地更新數據。通過ln.set_data(xdata[:frame], ydata[:frame])不斷更新x,y軸數據。frame參數來自animation.FuncAnimation中的 ...
確定! 回上一頁