摘要: 导入图片 %matplotlib inline import numpy as np import skimage.io as SKimg import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn. 阅读全文
posted @ 2020-12-24 22:37 icydengyw 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: 导出高清无白框图片 fig =plt.figure(figsize=(12,10)) fig.savefig('pics/cluster_%i.jpg'%(ncomp), format='jpg',dpi=300,bbox_inches = 'tight',pad_inches = 0) 阅读全文
posted @ 2020-12-24 20:20 icydengyw 阅读(160) 评论(0) 推荐(0) 编辑