matplotlib绘图

import matplotlib.pyplot as plt

 

# 保存图片并去除白边

plt.savefig('images_path' + "image_name.png", bbox_inches = 'tight')

posted @ 2019-11-12 11:00  玩蛇大师  阅读(82)  评论(0)    收藏  举报