-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()