

@display_hook
def grid_display(grid, max_frames, max_branches):
    if (not isinstance(grid, GridSpace)):
        return None
    nframes = len(unique_dimkeys(grid)[1])
    if (max_branches > max_frames):
        max_frame_warning(max_frames)
        return sanitize_HTML(grid)
    return render(grid)

dataset/ETHPy150Open ioam/holoviews/holoviews/ipython/display_hooks.py grid_display/VarMisuse@49/61 `nframes`->`max_branches`