Very new to Bokeh (and Python), this may be a pretty simple question, but I haven’t really been able to figure out how to fix it.
When using MultiLine, how can have it use different colors for each line? I’ve tried a few different variations, but I always get the error below.
Code I use (I’m only plotting two lines right now):
glyph = MultiLine(xs=“xs”, ys=“ys”, line_color=[’#8dd3c7’,’#ffffb3’], line_width=2)
ValueError: expected an element of either String, Dict(String, Either(String, Color)) or Color, got [’#8dd3c7’, ‘#ffffb3’]