return normalised ascent vector

def dxdy(line):
    """
    return normalised ascent vector
    """
    x0, y0, x1, y1 = line
    dx = float(x1 - x0)
    dy = float(y1 - y0)
    f = hypot(dx, dy)
    return dx / f, dy / f