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

In [2]:
ggplot(mtcars, aes(x='wt', y='mpg')) + geom_point()


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

In [3]:
ggplot(mtcars, aes(x='wt', y='mpg', color='cyl')) + geom_point()


Out[3]:
<ggplot: (270692389)>

In [4]:
ggplot(mtcars, aes(x='wt', y='mpg', shape='factor(cyl)')) + geom_point()


Out[4]:
<ggplot: (288552509)>

In [5]:
ggplot(diamonds, aes(x='carat', y='price')) + geom_point()


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

In [6]:
ggplot(diamonds, aes(x='carat', y='price')) + geom_point(color='steelblue')


Out[6]:
<ggplot: (288424913)>

In [7]:
ggplot(diamonds, aes(x='carat', y='price')) + geom_point(alpha=1/100.)


Out[7]:
<ggplot: (289115305)>

In [8]:
ggplot(diamonds, aes(x='carat', y='price')) + geom_point(alpha=1/100.) + stat_smooth()


Out[8]:
<ggplot: (288827973)>

In [10]:
ggplot(mpg, aes(x='year', y='hwy', color='class')) + geom_point()


Out[10]:
<ggplot: (296611705)>

In [12]:
ggplot(mpg, aes(x='cty', y='hwy', color='class')) + geom_point()


Out[12]:
<ggplot: (288707325)>

In [ ]:
ggplot(mpg, aes(x='cty', y='hwy', color='class')) + geom_point()