graph-emerge-heatmap.py 文件源码

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

项目:GeHG 作者: livibetter 项目源码 文件源码
def plot_animated_heatmap(windows, title, ax_props=None, more_props=None):

    fig, im, footer = plot_heatmap(windows[0], title, ax_props, more_props)

    axes = fig.get_axes()
    ax1, ax2 = axes
    redraws = [im, footer, ax1.xaxis, ax1.yaxis, ax2.xaxis, ax2.yaxis]

    anim = animation.FuncAnimation(
        fig,
        update_animated_heatmap,
        frames=windows,
        fargs=(more_props['name'], axes, im, footer, redraws),
        interval=250,
        blit=True,
    )

    return anim,
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号