且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Seaborn Python绘制CDF +累积直方图

更新时间:2022-02-07 08:48:10

import numpy as np
import seaborn as sns

x = np.random.randn(200)
kwargs = {'cumulative': True}
sns.distplot(x, hist_kws=kwargs, kde_kws=kwargs)