data = np.random.multivariate_normal(mean=[0, 0], cov=[[1, 0], [0, 1]], size=1000)
cdfx = multivariate_normal(mean=[0, 0], cov=[[1, 0], [0, 1]]).cdf
ks_1samp(x=data, cdf=cdfx)
KstestResult(statistic=0.9930935227267083, pvalue=0.0)
Shouldn't the P-value be high?