赞
踩
当使用matplotlib的下列代码时,提示警告:
from matplotlib import animation
anim = animation.FuncAnimation(plt.gcf(), animate, frames = len(frames), interval=50)
anim.save(path + filename, writer='imagemagick', fps=60)
提示警告如下:
MovieWriter imagemagick unavailable. Trying to use pillow instead.
将 writer 的 “imagemagick” 改为 “pillow”,如下:
anim.save(path + filename, writer='pillow', fps=60)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。