In [1]:
%matplotlib inline
from ggplot import *
import pandas as pd
In [7]:
ggplot(diamonds, aes(x='price', y='carat')) + \
geom_point() + \
scale_x_log()
Out[7]:
In [3]:
ggplot(pigeons, aes(x='speed')) + \
geom_histogram() + \
scale_x_log(base=2)
Out[3]:
In [4]:
ggplot(diamonds, aes(x='price')) + \
geom_histogram() + \
scale_x_log()
Out[4]:
In [6]:
ggplot(diamonds, aes(x='price')) + \
geom_histogram() + \
scale_x_log(base=100)
Out[6]:
In [ ]: