Python saves the picture and removes the blank space next to it

plt.savefig('tupian.jpg', bbox_inches='tight')

Guess you like

Origin blog.csdn.net/weixin_46713695/article/details/130320649