In [1]:
%matplotlib inline
from ggplot import *
In [2]:
ggplot(diamonds, aes(x='price', y='carat')) + \
geom_point() + \
scale_x_reverse()
Out[2]:
In [3]:
ggplot(pigeons, aes(x='speed')) + \
geom_histogram() + \
scale_x_reverse()
Out[3]:
In [4]:
ggplot(pigeons, aes(x='speed', y='pos')) + \
geom_line() + \
scale_x_reverse()
Out[4]:
In [ ]: