📜  删除白色边框 savefig - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:15.744000             🧑  作者: Mango

代码示例1
You can remove the white space padding by setting bbox_inches="tight" in savefig:
plt.savefig("test.png",bbox_inches='tight')