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

In [5]:
ggplot(diamonds, aes(x='carat', y='price', color='depth')) + \
    geom_point() + \
    scale_color_gradient(low="white", high="royalblue")


Out[5]:
<ggplot: (274929741)>

In [ ]: