# data columns, the y values are the errors added to the x values x_data = np.linspace(x_start, x_end, n_points) y_error = np.random.normal(loc=0, scale=y_sd, size=n_points) y_data = np.linspace(y_start, y_end, n_points) + y_error