@display_hook
def element_png_display(element, max_frames, max_branches):
    if 'png' not in Store.display_formats:
        return None
    info = process_object(element)
    if info: return info

    backend = Store.current_backend
    if type(element) not in Store.registry[backend]:
        return None
    renderer = Store.renderers[backend]
    # Current renderer does not support PNG
    if 'png' not in renderer.params('fig').objects:
        return None

    data, info = renderer(element, fmt='png')
    return data
Replace the middle of lines between in_line_start and endline
dataset/ETHPy150Open ioam/holoviews/holoviews/ipython/display_hooks.py/element_png_display--crossover with--dataset/ETHPy150Open winpython/winpython/winpython/utils.py/patch_sourcelines