【问题标题】:update seaborn from inside jupyter notebook从 jupyter notebook 内部更新 seaborn
【发布时间】:2020-05-08 03:37:57
【问题描述】:

这是我的问题:

sns.scatterplot(x=[x,x,x], y=[x,x,x])

AttributeError: 模块 'seaborn' 没有属性 'scatterplot'

我读到 seaborn 需要更新来解决这个问题。所以我做了:

!pip install seaborn --upgrade #or also !pip install seaborn==0.9.0
import seaborn as sns
sns.__version__

0.8.1

它没有更新,而且我不断收到相同的 AttributeError。我错过了什么?

【问题讨论】:

标签: python pandas seaborn


【解决方案1】:

在 Anaconda 导航器中更新 jupyter notebook。所有模块都会更新。这应该可以解决您的问题。

【讨论】:

    猜你喜欢
    • 2018-09-11
    • 2016-08-16
    • 1970-01-01
    • 2018-11-27
    • 2020-09-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多