Visualize an histogram from data¶
In this example we are going to a plot an histogram from an unidimensional sample.
from __future__ import print_function import openturns as ot
# Create data to visualize size = 500 normal = ot.Normal(1) sample = normal.getSample(size)
# Draw histogram ot.VisualTest_DrawHistogram(sample)