解決問題 No handles with labels found to put in legend. 解決思路 沒有發現在圖例中放置标簽的句柄。 解決方法 将以下代碼注釋掉即可! plt.legend()