def middle_frame(obj):
    plot, renderer, fmt = single_frame_plot(obj)
    middle_frame = int(len(plot) / 2)
    plot.update(middle_frame)
    return renderer.html(plot, fmt)
Only display the (approximately) middle frame of an animated plot
dataset/ETHPy150Open ioam/holoviews/holoviews/ipython/display_hooks.py/middle_frame