千言万语汇成一句话:

plt.savefig(r'C:\Users\Hou\Downloads\贷款数据.png',dpi=400,bbox_inches='tight')

#dpi:像素

#bbox_inches:inches意思是英寸

#注意相同命名的会替换

 

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2021-06-22
  • 2021-11-19
  • 2021-12-11
  • 2021-08-12
猜你喜欢
  • 2022-12-23
  • 2021-11-14
  • 2021-11-05
  • 2021-11-03
相关资源
相似解决方案