I dont agree we need a constructor from interval for 1 line:
sample = ot.Sample([interval.getLowerBound(), interval.getUpperBound()])
I dont agree we need a constructor from interval for 1 line:
sample = ot.Sample([interval.getLowerBound(), interval.getUpperBound()])