8000 randint correction · thismlguy/scikit-learn@bc73643 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc73643

Browse files
aarshayjthismlguy
authored andcommitted
randint correction
1 parent 129ff24 commit bc73643

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/plot/tests/test_heatmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from sklearn.utils.testing import assert_raises
99
import numpy as np
1010
from numpy.random import (RandomState,
11-
randomint)
11+
randint)
1212

1313

1414
def test_heatmap():
@@ -42,7 +42,7 @@ def test_confusion_matrix():
4242

4343
with matplotlib.rc_context(rc={'backend': 'Agg', 'interactive': False}):
4444
plt.figure()
45-
cnf_matrix = randomint(1, 10, size=(2, 2))
45+
cnf_matrix = randint(1, 10, size=(2, 2))
4646

4747
# plot un-normalized matrix
4848
plot_confusion_matrix(cnf_matrix, classes=["dummy1", "dummy2"],

0 commit comments

Comments
 (0)
0