在水蟒中,Matplotlib是否需要安装ffmpeg来保存动画?

2024-06-26 04:34:14 发布

您现在位置:Python中文网/ 问答频道 /正文

为了保存动画,我阅读了一些命题
1) 手动安装ffmpeg的方法如下:

  conda install -c conda-forge ffmpeg

2)手动安装ImageMagick并更改matplotlib配置文件“matplotlibrc”,方法如下:

^{pr2}$

其中,手动添加了带pass to installed ImageMagick的行

animation.convert_path: F:\Games\ImageMagick-7.0.7-Q16\magick.exe

两个问题:
1-什么方法对水蟒更好?
真的水蟒没有更好的方法????在


Tags: installto方法matplotlib配置文件动画pass手动