摘要: 方法一:在plt.savefig()中添加bbox_inches = 'tight'与pad_inches=0 1 import matplotlib.pyplot as plt 2 from PIL import Image 3 import os 4 5 def save_img1(img, i 阅读全文
posted @ 2022-03-15 15:44 Shelly, 阅读(4234) 评论(0) 推荐(0)