MVSamples.to_histogram (function)


def to_histogram(self, dimension)

Convert the MVSamples distribution to a Histogram univariate distribution.

Under-the-hood, this calls MVSamples.to_samples followed by Samples.to_histogram.

Arguments

  • dimension (int or str): index or label of the dimension to use for the univariate distribution.

Returns