In [1]:
%matplotlib inline
from ggplot import *
import pandas as pd
In [2]:
ze_colors = [
"blue",
"red",
"green",
"MediumAquaMarine",
"Peru",
"Tomato",
"#f8b195",
"#ffb6c1",
"#933835",
"Bisque"
]
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=7500) + \
scale_color_identity()
Out[3]:
In [ ]: