→ Hsins: matplotlib 就可以了。 07/06 17:19
→ Hsins: 不知道是不是你要的,簡單來說就是一個初始函數,一個隨時 07/06 17:40
→ Hsins: 間變化的函數,至於要怎麼隨時間去變化就看你怎麼放 data 07/06 17:40
→ Hsins: 共享明天刪,不想弄亂我的 Google Drive... 07/06 17:41
→ nicha115: H大大,是我要的~謝謝~~~ 07/06 18:57
→ nicha115: 本來跟我說requested moviewriter(ffmpeg) not availabl 07/06 19:05
→ nicha115: 我去查如何處理後就可以。(代表我真的很菜...) 07/06 19:07
→ alvinlin: 我用IDLER試了一下大概知道你說的那個RuntimeError: Req 07/07 16:43
→ alvinlin: uested MovieWriter (ffmpeg) not available, 但把 HTML 07/07 16:43
→ alvinlin: (ani.to_html5_video()) 拿掉改用 plt.show() 就可以了, 07/07 16:43
→ alvinlin: 不用 Jupyter 也能跑 animation 07/07 16:43
→ nicha115: a大,我用jupyter notebook用plt.show不會有動畫耶 07/07 16:55
→ Hsins: 在 jupyter notebook 裡面要有動畫需要寫 HTML(ani.to_html 07/07 16:56
→ Hsins: 5_video())。 alvinlin 說的是你不要用 jupyter notebook 07/07 16:57
→ Hsins: 直接在終端執行,會直接跳出視窗跑動畫。 07/07 16:57
→ Hsins: 這個問題是在於 jupyter notebook 沒辦法直接嵌入,必須先 07/07 16:58
→ Hsins: 使用 ffmpeg 把動畫轉成影片檔在放到頁面中。 07/07 16:58
→ nicha115: 了解!謝謝H大~ 07/07 17:43