Module Seaborn has no attribute '<any graph>'
You have found that example on the newest version of the seaborn module, which is 0.9
. From the "What’s new in each version" section:
New relational plots
Three completely new plotting functions have been added: relplot(), scatterplot(), and lineplot()
So, you need to update your seaborn to the latest version to use these plotting functions.
I had this same issue. The selected answer, is correct, you have an older version, but there were a few hangups that I ran into. Here's what happened and how I corrected it. I first tried:
conda update seaborn
which did not install seaborn 0.9.0, but rather installed a 0.8.x version. I then did
conda remove seabornconda install seaborn=0.9.0
which still installed an older version. I finally got it to work using pip3
pip3 install seaborn==0.9.0
Which worked properly and solved the missing plots you mentioned. As long as you do this within your conda environment, it should function as though it was a conda install.
First uninstall seaborn:
conda remove seabornpip uninstall seaborn
Then try download and install lastest version:
pip3 --no-cache-dir install seaborn
It worked for me.