def render(buf):
    im = Image.new('1', (84,48))
    draw = ImageDraw.Draw(im)
    scale = Scale(min_max(buf), im.size[1])

    for x,data in enumerate(buf):
        if data <> None:
            for y in data:
                draw.point((x,scale(y)), 1)

    del draw
    return im
Redirects arcs to any of the nodes in the originals list
dataset/ETHPy150Open rm-hull/pcd8544/examples/plotter.py/render--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/parse/dependencygraph.py/DependencyGraph.redirect_arcs