
I have observed on a number of occasions that Bokeh only intermittently picks up a column from a column data source for plotting. My latest example of this is replicated below:
from bokeh.plotting import figure, show
from bokeh.models import ColumnDataSource
cds = ColumnDataSource({
'xs': [[0, 0, 1, 1], [2, 2, 3, 3]],
'ys': [[0, 1, 1, 0], [2, 3, 3, 2]],
'line_color': ['red', 'blue'],
'line_dash': ['solid', 'dashed']
})
p = figure(title = 'Test')
p.patches(xs = 'xs', ys = 'ys', line_width = 2, line_color = 'line_color', line_dash = 'line_dash', fill_color = None, source = cds) # line_dash will throw an error but line_color does not?
show(p)
Looking at the documentation for patches I can’t see any obvious reason why line_dash is not supported when line_color is? Is there anywhere I can find out for each glyph type what will be picked up for a column data source and what will not?


