How can I ensure that my figure size is consistent with the "figsize" passed in plt.subplot?
yzbyx opened this issue · comments
Enze Zhao commented
The relavent code is here below:
fig, ax = plt.subplots(1, 2, figsize=figsize)
fig.subplots_adjust(wspace=0.3, bottom=0.22, top=0.95, right=0.88, left=0.1)
fig.savefig(r"E:\test.tif", dpi=500, pil_kwargs={"compression": "tiff_lzw"})
This problem usually occurs when figure has long axis number labels, figure seems to be readjusted.
However, when I use seaborn or pure matplotlib, the issue doesn't happen.
Echedey Luis commented
Please, invest time in filling out the bug report accordingly. Which styles are you using?
Enze Zhao commented
Thank you for your reply. I have commited a new issue.
Echedey Luis commented
Thanks to you, I'm closing this one then.
I will have a look at it later/on the following days. I'm very busy these days.