【发布时间】:2015-10-16 15:46:29
【问题描述】:
我在看matplotlib.animation.FuncAnimation的文档
http://matplotlib.org/api/animation_api.html。
save_count 是做什么的?
【问题讨论】:
标签: python animation matplotlib
我在看matplotlib.animation.FuncAnimation的文档
http://matplotlib.org/api/animation_api.html。
save_count 是做什么的?
【问题讨论】:
标签: python animation matplotlib
查找此信息的一种方法是使用IPython。例如,我在会话中执行了以下操作:
In [7]: from matplotlib.animation import FuncAnimation
In [8]: FuncAnimation??
这带来了函数文档,比web api上发布的更详细。
# Amount of framedata to keep around for saving movies. This is only
# used if we don't know how many frames there will be: in the case
# of no generator or in the case of a callable.
self.save_count = save_count
这是查找一般文档的好方法。我希望这有帮助!
【讨论】:
help(FuncAnimation)
matplotlib source 对此进行了解释,但文档中没有:
为保存电影而保留的帧数据量。这只是 如果我们不知道会有多少帧,则使用:在没有的情况下 生成器或在可调用的情况下。
【讨论】: