Python 如何在Jupyter笔记本中可视化matplotlib动画

Python 如何在Jupyter笔记本中可视化matplotlib动画,python,ffmpeg,jupyter-notebook,matplotlib-animation,Python,Ffmpeg,Jupyter Notebook,Matplotlib Animation,我正在尝试创建一个与链接()中类似的赛车条形图。 然而,我无法在我的Jupyter笔记本中看到动画 代码 下面是我尝试使用的内容和错误 HTML(animator.to_jshtml()) <-- Static output with buttons unable to visualize animation plt.rcParams["animation.html"] = "jshtml" <- no error and output HTML(animator.to_html

我正在尝试创建一个与链接()中类似的赛车条形图。 然而,我无法在我的Jupyter笔记本中看到动画

代码

下面是我尝试使用的内容和错误

HTML(animator.to_jshtml())  <-- Static output with buttons unable to visualize animation
plt.rcParams["animation.html"] = "jshtml"  <- no error and output
HTML(animator.to_html5_video())  <---Requested MovieWriter (ffmpeg) not available 


HTML(animator.to_jshtml())请提供完整的错误消息以及。请提供完整的错误消息以及。
HTML(animator.to_jshtml())  <-- Static output with buttons unable to visualize animation
plt.rcParams["animation.html"] = "jshtml"  <- no error and output
HTML(animator.to_html5_video())  <---Requested MovieWriter (ffmpeg) not available