I am having trouble switching from ggplot2 into seaborn. Currently using Anaconda v. 4.5.8 and Python 3.6.3
Any graph I use cannot be found. For example I can tak
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 seaborn
conda 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.
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.
First uninstall seaborn:
conda remove seaborn
pip uninstall seaborn
Then try download and install lastest version:
pip3 --no-cache-dir install seaborn
It worked for me.