demo_numpy_random_poisson3.py:
from numpy import random import matplotlib.pyplot as plt import seaborn as sns sns.distplot(random.normal(loc=50, scale=7, size=1000), hist=False, label='normal') sns.distplot(random.poisson(lam=50, size=1000), hist=False, label='poisson') plt.show()
C:\Users\My Name>python demo_numpy_random_poisson3.py