摘要:
导入图片 %matplotlib inline import numpy as np import skimage.io as SKimg import matplotlib.pyplot as plt from sklearn.cluster import KMeans from sklearn. 阅读全文
摘要:
导出高清无白框图片 fig =plt.figure(figsize=(12,10)) fig.savefig('pics/cluster_%i.jpg'%(ncomp), format='jpg',dpi=300,bbox_inches = 'tight',pad_inches = 0) 阅读全文