In many Bokeh examples (for example, unemployment graph , and periodic table ), I see that the rect construction primitive gets color from ColumnDataSource from the HTML view:
eg:.
.... colors = [ "#75968f", "#a5bab7", "#c9d9d3", "#e2e2e2", "#dfccce", "#ddb7b1", "#cc7878", "#933b41", "#550b1d" ] source = ColumnDataSource( data=dict(month=month, year=year, color=color, rate=rate) ) p.rect("year", "month", 1, 1, source=source, color="color", line_color=None)
However, looking at the rect documentation , I donโt see a parameter for color (note that you are allowed to pass line-properties "and" fill-properties ", but none of them accepts color as a parameter)
Most importantly for this question, is there any other way than HTML to specify colors for Bokeh plots? Ideally, I would like to specify colors using the color palettes created by seaborn .
source share