8000 Revert "EXA: fix xlabel and ylabel in plot_cv_digits.py (#13067)" · xhluca/scikit-learn@09d727a · GitHub
[go: up one dir, main page]

Skip to content

Commit 09d727a

Browse files
author
Xing
authored
Revert "EXA: fix xlabel and ylabel in plot_cv_digits.py (scikit-learn#13067)"
This reverts commit d1b9bdd.
1 parent af7746d commit 09d727a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/exercises/plot_cv_digits.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232

3333
# Do the plotting
3434
import matplotlib.pyplot as plt
35-
plt.figure()
35+
plt.figure(1, figsize=(4, 3))
36+
plt.clf()
3637
plt.semilogx(C_s, scores)
3738
plt.semilogx(C_s, np.array(scores) + np.array(scores_std), 'b--')
3839
plt.semilogx(C_s, np.array(scores) - np.array(scores_std), 'b--')

0 commit comments

Comments
 (0)
0