Tag Archives: seaborn

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

Module ‘Seaborn’ has no attribute ‘tsplot’. This is the version problem. In the new version, there is no tsplot method, so we need to reduce the version of Seaborn

pip install seaborn==0.8.1 -i https://pypi.doubanio.com/simple

Of course, I saw other solutions on the Internet:
said that lineplot has replaced tsplot in the new version. You can try it yourself!!!

AttributeError:module“seaborn” has no attribute “lineplot”

When drawing with Seaborn, the following error occurs:

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

Reason:
the version of Seaborn is a little old. I checked it. The version data of Seaborn is version 0.8.1, and it is lineplot after version 0.9, so I just need to update Seaborn.

pip install -U seaborn