pip install ggplot
python
from ggplot import *
import pandas as pd
data = pd.DataFrame({'x': [1, 2, 3, 4, 5], 'y': [5, 4, 3, 2, 1]})
python
p = ggplot(aes(x='x', y='y'), data=data) + geom_point()
print(p)
python
theme_set(theme_gray())
print(p + theme_gray())
python
print(p + geom_line(color='blue'))
python
my_theme = theme(axis_text=element_text(color='red'),
axis_title=element_text(color='blue', size=20),
panel_background=element_rect(fill='gray'))
theme_update(my_theme)
print(p)