import openturns as ot
from openturns.viewer import PlotDesign

ot.RandomGenerator.SetSeed(0)
dim = 3
size = 10
distribution = ot.JointDistribution([ot.Uniform(0.0, 1.0)] * dim)
bounds = distribution.getRange()
lhs = ot.LHSExperiment(distribution, size)
sample = lhs.generate()
subdivisions = [size] * dim
fig = PlotDesign(sample, bounds, subdivisions)
