def _linspace(x0, x1, n):
    """return a list from x0 to x1 with n+1 element (n gaps)"""
    dx = (x1 - x0) / n
    lst = [x0 + dx * i for i in range(n)]
    lst.append(x1)
    lst = list(map(lambda x: round(x, 2), lst))
    return lst