mpl_animate.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:phoebe2 作者: phoebe-project 项目源码 文件源码
def animate(base_ps, init_ps, init_time, frames, plotting_args, fixed_limits=True,\
             interval=100, blit=False, metawargs={}, **kwargs):


    ao = Animation(init_ps, init_time, fixed_limits, plotting_args, metawargs)
    anim = animation.FuncAnimation(ao.fig, ao, fargs=(base_ps,),\
            init_func=ao.anim_init, frames=frames, interval=interval,\
            blit=blit, **kwargs)

    return anim, ao
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号