"""
This class implements a histogram that adapts to an unknown data distribution.
Look at the H1DA class
You will need to convert it to P1D to show it
"""
from java.awt import Color,Font
from java.util import Random
from jhplot import H1DA
h1 = H1DA()
rand = Random()
for i in range(1000):
h1.fill(rand.nextGaussian())
print h1.toString()
Ads help maintain this website.