When plotting heatmaps with seaborn (and correlation matrices with matplotlib) the first and the last row is cut in halve. This happens also when I run this minimal code exa
Worked for me:
b, t = plt.ylim() b += 0.5 t -= 0.5 custom_ylim = (b, t) plt.setp(axes, ylim=custom_ylim)