legend ()函數的屬性bbox_to_anchor =(x,y)用於指定圖例的坐標,屬性ncol表示圖例具有的列數。默認值為1。 用法: matplotlib.pyplot.legend([“blue”, “green”], ...
確定! 回上一頁