8000 Seed the random number generator in the hexbin_log test · matplotlib/matplotlib@2f1fda6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f1fda6

Browse files
committed
Seed the random number generator in the hexbin_log test
1 parent f1450f3 commit 2f1fda6

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed
Loading

lib/matplotlib/tests/ 75DC test_axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ def test_hexbin_log():
426426
# Issue #1636
427427
fig = plt.figure()
428428

429+
np.random.seed(0)
429430
n = 100000
430431
x = np.random.standard_normal(n)
431432
y = 2.0 + 3.0 * x + 4.0 * np.random.standard_normal(n)

0 commit comments

Comments
 (0)
0