csource = bokeh.models.ColumnDataSource(data=dict(x=[1, 2, 3], y=[1, 2, 1],
    colors1=['#ff0000', '#00ff00', '#0000ff'], colors2=['#ff00ff',
    '#ffff00', '#00ffff']))
Bokeh, how to change column used for glyph colors with CustomJS callbacks?