In [1]:
%matplotlib inline
from ggplot import *

In [2]:
ggplot(mpg, aes(x='cty')) + \
    geom_histogram() + \
    xlab("City MPG (Miles per Gallon)") + \
    ylab("# of Obs")


Out[2]:
<ggplot: (274955645)>

In [ ]: