How To Use A Cds Column To Set The "line_dash" Of A Multiline Glyph?
I am plotting Multilines with the method multi_line. from bokeh.plotting import figure, show from bokeh.models import ColumnDataSource source = ColumnDataSource(data=dict(
Solution 1:
Although you are asking in relation to MultiLine
, this has the same answer as Can the line dash of a segment plot be defined by source data? which is that "vectorizing" the line_dash
property is not currently supported (as of 0.12.16
) If you want to have different line dashes for now you will have to make separate calls to line
.
Post a Comment for "How To Use A Cds Column To Set The "line_dash" Of A Multiline Glyph?"