I am plotting a correlation heatmap as follows:
plt.figure(figsize = (20,8))
sns.heatmap(df.corr(),annot=True, cmap = 'coolwarm')
and it is showing a plot as follows:
As it can be seen that the heatmap is not neatly made on the edges with the names and the values overlapping. Is there a way I can neaten it up to get a heatmap as follows:
Thanks