-1
私は図の内外に私の伝説を表示しようとしましたが、まだそれを見ることはできません。それだけで空box.whatの間違った私の伝説は表示されません
p1=plt.plot(np.logspace(-2,1,10), trainsScores, label="train scores")
p2=plt.plot(np.logspace(-2,1,10), testScores, label="test scores")
plt.legend([p1, p2], ["Train score", "Test score"], loc='upper center',bbox_to_anchor=(0.5, -0.05),
fancybox=True, shadow=True, ncol=5)
plt.xlabel('C')
plt.ylabel('Score')
plt.show()