def METHOD_NAME(x, y):
    x_bounds = np.min(x), np.max(x)
    y_bounds = np.min(y), np.max(y)
    xy_mean = np.mean(x_bounds), np.mean(y_bounds)
    xy_scale = np.ptp(x_bounds), np.ptp(y_bounds)
    return xy_mean, xy_scale