使用seaborn绘图时,出现如下错误:

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

原因:
seaborn版本有点老,我查看了了一下,seaborn的版本数据0.8.1版本的,在0.9版本之后又lineplot,所以只要更新seaborn即可。

pip install -U seaborn