In [1]:
%matplotlib inline
from ggplot import *
In [2]:
ggplot(mtcars, aes(x='wt', y='mpg', color='factor(cyl)')) + \
geom_point(size=150) + \
scale_color_yhat()
Out[2]:
In [ ]: