[問題] savefig() saves different aspect ratio
我用pandas和matplotlib畫了兩個subplots.用plt.show()時出現兩個正常的圖。但
當我用plt.savefig()0想把兩個subplots存成一個檔案時,saved figure裡只出現
x y 軸及legend. 當我只畫一個subplot時沒有這問題。
我把完整的問題放上stackoverflow: 感謝閱讀,希望有解。
http://ppt.cc/lHcC
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.248.164.177
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1427361952.A.116.html