Bar(numbers, color="blue")

Hello

This code shows a simple bar chart:

from bokeh.charts import *

co = [1,2,3,4,5,6,7,6,5,4,3,2,1]

p = Bar(co, legend=None)

show(p)

I would like to change the colors of the bars from pale red to blue in this way:

p = Bar(co, legend=None**, color=“blue”**))

This ends up with an error:

ValueError: cannot label index with a null key

Could you help me to put these bars in blue?

Could you also help me to understand why this line causes an error,

while the sample given on Bokeh Docs doesn’t:

bar-color sample on Bokeh Docs

Thanks,

Michel