You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
examples/gallery/histograms/histogram.py:15:1: NPY002 Replace legacy `np.random.seed` call with `np.random.Generator`
|
13 | import pygmt
14 |
15 | np.random.seed(100)
| ^^^^^^^^^^^^^^ NPY002
16 |
17 | # Generate random elevation data from a normal distribution
|
The usage of np.random.seed(100) is deprecated. We should use something like below instead:
Activity
yvonnefroehlich commentedon Oct 30, 2023
Should we split this into three PRs?