Skip to content

Instantly share code, notes, and snippets.

@kjprice
Created May 13, 2017 01:58
Show Gist options
  • Save kjprice/eecca100f2e38cc4703fbe85b45f4e46 to your computer and use it in GitHub Desktop.
Save kjprice/eecca100f2e38cc4703fbe85b45f4e46 to your computer and use it in GitHub Desktop.
The corrplot function was deprecated in new seaborn. You have to now call the function from another module.
from seaborn.linearmodels import corrplot
sns.set(style="darkgrid")
f, ax = plt.subplots(figsize=(9,9))
corrplot(df_imputed,
annot=True,
sig_stars=True,
cmap=cmap,
ax=ax)
f.tight_layout()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment