AttributeError module ‘seaborn‘ has no attribute ‘histplot‘

Hits: 0

Problem description : Error when using [seaborn] to draw: AttributeError: module ‘seaborn’ has no attribute ‘histplot’

This situation is a problem with the version of the Python library. The seaborn version in the Anaconda Base environment I use is 0.10.1.

Solution : Update the seaborn library and enter pip install -U seaborn under Anaconda Prompt:

pip install -U seaborn -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

Leave a Reply

Your email address will not be published.