主页
Python
Logistic 分布
demo_numpy_random_logistic3
运行 ❯
×
更改方向
保存代码
更改主题
from numpy import random import matplotlib.pyplot as plt import seaborn as sns sns.distplot(random.normal(scale=2, size=1000), hist=False, label='normal') sns.distplot(random.logistic(size=1000), hist=False, label='logistic') plt.show()
C:\Users\My Name>python demo_numpy_random_logistic3.py