EXA: fix xlabel and ylabel in plot_cv_digits.py (#13067)

This commit is contained in:
Hanmin Qin 2019-01-30 22:41:37 +08:00 committed by Guillaume Lemaitre
parent 5c6a8276e5
commit c0bb178389
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ for C in C_s:
# Do the plotting
import matplotlib.pyplot as plt
plt.figure(1, figsize=(4, 3))
plt.clf()
plt.figure()
plt.semilogx(C_s, scores)
plt.semilogx(C_s, np.array(scores) + np.array(scores_std), 'b--')
plt.semilogx(C_s, np.array(scores) - np.array(scores_std), 'b--')