python - `save_count`参数动画matplotlib ``

标签 python animation matplotlib

我在看matplotlib.animation.FuncAnimation的文档

http://matplotlib.org/api/animation_api.html .

save_count 有什么作用?

最佳答案

查找此信息的一种方法是使用 IPython。例如,我在 session 中执行了以下操作:

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

这是查找一般文档的好方法。我希望这有帮助!

关于python - `save_count`参数动画matplotlib ``,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33174565/

相关文章:

python - 使用 Twisted 的代理用户名/密码

jQuery every : loop an array, 通过 jQuery 附加文本并执行动画

ios - 如何在 iOS 中使用 UIView 动画显示类似 UIAction 表的 UIView?

python - 为什么 plt.set_xlim 是一个列表?

Python matplotlib.dates.date2num : converting numpy array to matplotlib datetimes

python - 高斯过程中 'Tensor is unhashable' 的 tensorflow 概率错误

Python - 如何按 X 量移动字符串中的字符

python - 在 cron 中引用 ini 文件失败

javascript - 如何向滚动合并表列中的翻译框添加动画

带有矩形的 Pandas 时间序列子图