本節代碼: https://github.com/MorvanZhou/tutorials/blob/master/matplotlibTUT/plt7_legend.py matplotlib 中的legend 圖例就是為了幫我們展示出每個數據對應的名稱. 更好的讓讀者認識到你的數據結構. Matplotli... 影片來源:https://morvanzhou.github.io/tutorials/data-manipulation/plt/2-5-lagend/