

def middle_frame(obj):
    'Only display the (approximately) middle frame of an animated plot'
    (plot, renderer, fmt) = single_frame_plot(obj)
    middle_frame = int((len(plot) / 2))
    plot.update(middle_frame)
    return renderer.html(plot, fmt)

dataset/ETHPy150Open ioam/holoviews/holoviews/ipython/display_hooks.py middle_frame/original