seaborn 集群的问题
Issues with seaborn clustering
嗨,我以前用过 seaborn,但最近由于某些原因我不能再使用 sns.clustermap。我什至回到网页并尝试使用下面粘贴的示例代码,但我一直收到 'AttributeError: Unknown property axisbg ' 。
我尝试重新安装 Matplotlib 和 seaborn 甚至尝试 conda install _library_Matplotlib
和 conda install _library_seaborn
,但没有任何效果。我什至试图更改我的 python 版本。
python 版本 3.6.6
matplotlib 版本 3.0.2
seaborn 版本 0.7.1
import seaborn as sns; sns.set(color_codes=True)
iris = sns.load_dataset("iris")
species = iris.pop("species")
g = sns.clustermap(iris)
错误:'AttributeError: Unknown property axisbg Figure size 720x720 with 0 Axes '
在这里工作,Spyder 3.3.1,Python 3.6.6,Qt 5.11.2,PyQt 5.11.3,Seaborn 0.9.0
运行:
pip install seaborn --upgrade
嗨,我以前用过 seaborn,但最近由于某些原因我不能再使用 sns.clustermap。我什至回到网页并尝试使用下面粘贴的示例代码,但我一直收到 'AttributeError: Unknown property axisbg ' 。
我尝试重新安装 Matplotlib 和 seaborn 甚至尝试 conda install _library_Matplotlib
和 conda install _library_seaborn
,但没有任何效果。我什至试图更改我的 python 版本。
python 版本 3.6.6 matplotlib 版本 3.0.2 seaborn 版本 0.7.1
import seaborn as sns; sns.set(color_codes=True)
iris = sns.load_dataset("iris")
species = iris.pop("species")
g = sns.clustermap(iris)
错误:'AttributeError: Unknown property axisbg Figure size 720x720 with 0 Axes '
在这里工作,Spyder 3.3.1,Python 3.6.6,Qt 5.11.2,PyQt 5.11.3,Seaborn 0.9.0
运行:
pip install seaborn --upgrade