No handles with labels found to put in legend.

最近在計算AUC時,最後的圖片沒法輸出,提示「No handles with labels found to put in legend.」,檢查發現是沒有定義圖例,因而增長圖例後解決。spa  37 plt.figure()  38 plt.plot(recall, precision, label='AUC')  39 plt.xlim([0.0, 1.0])  40 plt.ylim([0.
相關文章
相關標籤/搜索