Skip to main content
`Ctrl`+`K`
scipy.stats.rv_histogram.

# scipy.stats.rv_histogram.random_state

property rv_histogram.random_state

  Get or set the generator object for generating random variates.

  If `random_state` is None (or np.random), the `numpy.random.RandomState` singleton is used. If `random_state` is an int, a new `RandomState` instance is used, seeded with `random_state`. If `random_state` is already a `Generator` or `RandomState` instance, that instance is used.