importnumpyasnpfrombokeh.plottingimportfigure,showx=[1,2,3]y1=[1,4,2]y2=[2,1,4]y3=[4,3,2]# use a single RGBA colorsingle_color=(255,0,0,0.5)# use a list of different colorslist_of_colors=["hsl(60deg 100% 50% / 1.0)","rgba(0, 0, 255, 0.9)","LightSeaGreen",]# use a series of color values as numpy arraynumpy_array_of_colors=np.array([0xFFFF00FF,0x00FF00FF,0xFF000088,],np.uint32,)p=figure(title="Specifying colors")# add glyphs to plotp.line(x,y1,line_color=single_color)p.circle(x,y2,radius=0.12,color=list_of_colors)p.scatter(x,y3,size=30,marker="triangle",fill_color=numpy_array_of_colors)show(p)