我有一个 seaborn 热图,但我需要删除显示为破折号的轴刻度线。我想要刻度标签,但只需要删除两个轴上每个刻度处的破折号 (-)。我目前的代码是:
sns.heatmap(df, annot=True, fmt='.2f', center=0)
我试过绝望,但没有奏效。
matplotlib axis-labels seaborn
axis-labels ×1
matplotlib ×1
seaborn ×1