demo_numpy_random_poisson2.py:
from numpy import random import matplotlib.pyplot as plt import seaborn as sns sns.distplot(random.poisson(lam=2, size=1000), kde=False) plt.show()
C:\Users\My Name>python demo_numpy_random_poisson2.py