'module' object has no attribute 'corrplot'
<pre><code>import seaborn as sns
import matplotlib.pyplot as plt

sns.corrplot(rets,annot=False,diag_names=False)
</code></pre>

<p>I get this error after I call the function above...don't know whats going on</p>

<pre><code>AttributeError                            Traceback (most recent call last)
&lt;ipython-input-32-33914bef0513&gt; in &lt;module&gt;()
----&gt; 1 sns.corrplot(rets,annot=False,diag_names=False)

AttributeError: 'module' object has no attribute 'corrplot'
</code></pre>

<p>The <code>corrplot</code> function was deprecated in seaborn version v0.6: <a href="https://seaborn.github.io/whatsnew.html#other-additions-and-changes" rel="nofollow">https://seaborn.github.io/whatsnew.html#other-additions-and-changes</a></p>

<p>Note that the function actually still exists in the seaborn codebase, but you have to directly import it from <code>seaborn.linearmodels</code> and you will get a warning that it is subject to removal in a future release.</p>

python seaborn