I have a matrix which has 600 different labels. Therefore, it is really big file; and I couldn't see these labels very well, when I created a figure to cluster my data. How should I create a high resolution file and save it?
I already tried below code.
import scipy.cluster.hierarchy as hcluster
import scipy.spatial.distance as ssd
SimMatrix = mainTable
distVec = ssd.squareform(SimMatrix)
linkage = hcluster.linkage(1 - distVec)
dendro = hcluster.dendrogram(linkage, leaf_rotation=90., leaf_font_size=0.5,)
matplotlib.pyplot.savefig('plt.png', dpi=520, format='png', bbox_inches='tight')
I am trying to get big high resolution file, it can be png or jpeg.
I got below image as figure.