千言万语汇成一句话:
plt.savefig(r'C:UsersHouDownloads贷款数据.png',dpi=400,bbox_inches='tight')
#dpi:像素
#bbox_inches:inches意思是英寸
#注意相同命名的会替换