-
-
Save amankharwal/cc801997dbd070ee0bf72d44a8212596 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let's make our correlation matrix a little prettier | |
corr_matrix = df.corr() | |
fig, ax = plt.subplots(figsize=(15, 15)) | |
ax = sns.heatmap(corr_matrix, | |
annot=True, | |
linewidths=0.5, | |
fmt=".2f", | |
cmap="YlGnBu"); | |
bottom, top = ax.get_ylim() | |
ax.set_ylim(bottom + 0.5, top - 0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment