when using seaborn heatmap, is there a way to auto-adjust the font size for it to fit exactly inside the squares?
for example in:
sns.heatmap(corrmat, vmin=corrmat.values.min(), vmax=1, square=True, cmap="YlGnBu",
linewidths=0.1, annot=True, annot_kws={"size":8})
here the size is set in "annot_kws".
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…