畫圖前時候先獲取當前圖像,使用plt.gcf(): fig = plt.gcf() #Get Current Figure plt.show() fig1.savefig('filename2.png', dpi=100). 分類Python ...
確定! 回上一頁