demo_numpy_random_exponential2.py:
from numpy import random import matplotlib.pyplot as plt import seaborn as sns sns.distplot(random.exponential(size=1000), hist=False) plt.show()
C:\Users\My Name>python demo_numpy_random_exponential2.py