Add a label= to each of your plot() calls, and then call legend(loc='upper ... You can access the Axes instance ( ax ) with plt.gca() .
確定! 回上一頁