In [1]:
%matplotlib inline
from ggplot import *
import pandas as pd
In [5]:
mpg = pd.melt(mpg[['hwy', 'cty']])
In [6]:
ggplot(mpg, aes(x='value', color='variable')) + \
geom_density()
Out[6]:
In [ ]: