%pylab inline
import matplotlib.pyplot as plt
import numpy as np
import random
x = [random.random() for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.triangular(0, 10, 50) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.gammavariate(.5, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.betavariate(.5, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.expovariate(10) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.gauss(0, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.lognormvariate(0, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.normalvariate(0, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.vonmisesvariate(0, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.paretovariate(.5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)
x = [random.weibullvariate(0, .5) for a in range(0,1000000)]
histo, j = np.histogram(x)
plot(histo)