Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/statistics/histogram_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
import numpy as np
import matplotlib.pyplot as plt

np.random.seed(19680801)
rng = np.random.default_rng(seed=19680801)

# example data
mu = 100 # mean of distribution
sigma = 15 # standard deviation of distribution
x = mu + sigma * np.random.randn(437)
x = mu + sigma * rng.standard_normal(437)

num_bins = 50

Expand Down