我一直在寻找的matplotlib.animation.FuncAnimation
`save_count`参数动画matplotlib``
的文档在http://matplotlib.org/api/animation_api.html。
save_count
是做什么用的?
我一直在寻找的matplotlib.animation.FuncAnimation
`save_count`参数动画matplotlib``
的文档在http://matplotlib.org/api/animation_api.html。
save_count
是做什么用的?
找到此信息的一种方法是使用IPython
。例如,我在执行我的会话执行以下操作:
In [7]: from matplotlib.animation import FuncAnimation
In [8]: FuncAnimation??
这带来了功能的文档,这是更详细的又是什么张贴在网页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
这是一般查找文档的好方法。我希望这有帮助!
这在matplotlib source解释,但没有在文档中:
framedata量保持周围保存电影。如果我们不知道将会有多少帧:在没有 生成器的情况下,或者在可调用的情况下,这只用于 。
这很酷。谢谢@罗伊 –
好方法。谢谢@skywalker –