☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Bokeh Migration from 2.0.2 to 2.2.1

Community Support
zia_kayani
zia_kayani

I have created a plot using Bokeh 2.0.2,

it worked fine. As follows.

But when I updated the version of Bokeh to 2.2.1 the colouring scheme seems to be disturbed.

I’m using line_color but also tried color as follows but got no luck.

line_colors = {"left": "Red", "right": "Blue", "through": "Green"}
plot.line(plot_data2[agg], plot_data2[agg_by], line_color=line_colors[turn.lower()], line_width=2, legend_label=turnManeuver)

Any thoughts? Fix?

⌁   Link to post
Bryan
Bryan

Good catch, that’s probably it. If things ever worked with capitalized versions it was purely unintentional, we’ve 100% only ever demonstrated use of lower-case color names in all docs and examples. I am surprised this would not emit a loud warning about a missing column name, though.

⌁   Link to post

End of archived discussion · Replies are disabled