8000 DOC: Add example to ``rng.beta(...)`` by linus-md · Pull Request #25413 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: Add example to rng.beta(...) #25413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 20, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
DOC: Add whitespace
  • Loading branch information
linus-md authored Dec 20, 2023
commit 1b35a60a362bb2549d8c313c037086ae46795cf7
1 change: 1 addition & 0 deletions numpy/random/_generator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ cdef class Generator:
-0.0003163943736596009 # may vary

Display the histogram of the two samples:

>>> import matplotlib.pyplot as plt
>>> plt.hist([sample_left, sample_right],
... 50, density=True, histtype='bar')
Expand Down
0