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

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