In [1]:
%matplotlib inline
from ggplot import *
import pandas as pd
In [2]:
ze_colors = [
"madder lake",
"brick red",
"macaroni and cheese",
"english vermilion",
"banana mania",
"outer space",
"razzmatazz",
"pink sherbert",
"burnt sienna",
"beaver"
]
df = pd.DataFrame({
"x": range(10),
"y": range(10),
"ze-color": ze_colors
})
df
Out[2]:
In [3]:
ggplot(df, aes(x='x', y='y', color='ze-color')) + \
geom_point(size=250) + \
scale_color_crayon()
Out[3]:
In [ ]: