AttributeError:module 'seaborn' has no attribute 'tsplot'

用seaborn画图的时候出现了这个错误
AttributeError:module 'seaborn' has no attribute 'tsplot'

之前没有的,找也没找到相关答案,后来研究了一阵发现是版本问题,后来可能安装其他包的时候把它升级成了0.10.0,换成0.9.0就完事了~

用conda的就直接指定版本就好了:
conda install seaborn==0.9.0

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章