%pylab inline
import pandas as pd
import numpy as np
import matplotlib as mpl
import seaborn as sns
typessns = pd.DataFrame.from_csv(\'C:/data/testesns.csv\', inde
Note as of July 2018:
seaborn.__version__ == 0.9.0
Two main changes which affect the above answers
The factorplot
function has been renamed to catplot()
The size
parameter has been renamed to height
for multi plot grid functions and those that use them.
https://seaborn.pydata.org/whatsnew.html
Meaning the answer provided by @Fernando Hernandez should be adjusted as per below:
%matplotlib inline
import seaborn as sns
exercise = sns.load_dataset("exercise")
# Defaults are hieght=5, aspect=1
sns.catplot("kind", "pulse", "diet", exercise, kind="point", height=4, aspect=2)