def blankimage(file, scale):
    """Draw blank image."""
    import pyx
    m = 0.4
    tm = 1.2
    c = pyx.canvas.canvas()
    c.stroke(pyx.path.rect(0, 0, (9 + 2 * m) * scale, (9 + m + tm) * scale),
        [pyx.color.grey(1)])
    for i in range(10):
        if i % 3 == 0:
            c.stroke(pyx.path.line((i + m) * scale, m * scale, (i + m) *
                scale, (9 + m) * scale), [pyx.style.linewidth.THIck])
            c.stroke(pyx.path.line(m * scale, (i + m) * scale, (9 + m) *
                scale, (i + m) * scale), [pyx.style.linewidth.THIck])
        else:
            c.stroke(pyx.path.line((i + m) * scale, m * scale, (i + m) *
                scale, (9 + m) * scale))
            c.stroke(pyx.path.line(m * scale, (i + m) * scale, (9 + m) *
                scale, (i + m) * scale))
    c.writeEPSfile(file)
    return
