def showcolormap(self):
import matplotlib.pyplot as plt
obj=self.obj
m=obj.Proxy.dist_on_skel
#plt.imshow(m, cmap=plt.cm.spectral, interpolation='nearest')
plt.imshow(m, cmap=plt.cm.PRGn, interpolation='nearest')
plt.show()
#
# add special widgets
#
评论列表
文章目录