

@display_hook
def map_display(vmap, max_frames, max_branches):
    if (not isinstance(vmap, (HoloMap, DynamicMap))):
        return None
    if ((len(vmap) == 0) and ((not isinstance(vmap, DynamicMap)) or vmap.sampled)):
        return sanitize_HTML(vmap)
    elif (len(vmap) > max_frames):
        max_frame_warning(max_frames)
        return sanitize_HTML(max_branches)
    return render(vmap)

dataset/ETHPy150Open ioam/holoviews/holoviews/ipython/display_hooks.py map_display/VarMisuse@95/125 `vmap`->`max_branches`