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

Skip to content

Commit c0bb178

Browse files
qinhanmin2014glemaitre
authored andcommitted
EXA: fix xlabel and ylabel in plot_cv_digits.py (#13067)
1 parent 5c6a827 commit c0bb178

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/exercises/plot_cv_digits.py

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

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

0 commit comments

Comments
 (0)
0