In [1]:
from ggplot import *
%matplotlib inline
In [2]:
ggplot(diamonds, aes(x='price')) + geom_histogram()
Out[2]:
In [3]:
qplot(diamonds.price)
Out[3]:
In [4]:
ggplot(aes(x='mpg', weight='wt'), mtcars) + geom_histogram()
Out[4]:
In [ ]: