Skip to content

Instantly share code, notes, and snippets.

@cereniyim
Created January 8, 2020 13:13
Show Gist options
  • Save cereniyim/2369a1b9cd7c66b01a6003c10fc6e733 to your computer and use it in GitHub Desktop.
Save cereniyim/2369a1b9cd7c66b01a6003c10fc6e733 to your computer and use it in GitHub Desktop.
plot correlations heatmap
figsize=(16,14)
# plot the heatmap
colormap = plt.cm.RdBu
sns.heatmap(correlations,linewidths=0.1,
square=False, cmap=colormap, linecolor='white', annot=True)
plt.title('Pearson Correlation of Features with Numeric Soil_Type', size=14)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment