In [1]:
%matplotlib inline
In [2]:
import seaborn as sns
from ipywidgets import interact
In [3]:
tips = sns.load_dataset('tips')
In [4]:
tips.head()
Out[4]:
In [5]:
@interact(hue=['smoker','sex','time'])
def plot(hue):
_ = sns.pairplot(tips,hue=hue)