# Bokeh Migration from 2.0.2 to 2.2.1

**URL:** <https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401>\
**Category:** Community Support\
**Created:** [September 23, 2020, 3:15pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401 "2020-09-23T15:15:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zia\_kayani](https://discourse.bokeh.org/letter_avatar_proxy/v4/letter/z/977dab/32.png) [@zia\_kayani](https://discourse.bokeh.org/u/zia_kayani)\
**Post date:** [September 23, 2020, 3:15pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/1 "2020-09-23T15:15:05Z")

</div>

I have created a plot using Bokeh 2.0.2,

it worked fine. As follows.

 ![image](https://discourse-uploads.bokeh.org/original/2X/a/a0e1a1abd930365a09dfad67be20d1d14a9c2571.png)

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

 ![image](https://discourse-uploads.bokeh.org/original/2X/5/51d3617bc6c53b06480c410ac92364f218ca9f44.png)

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?

---

<div class="post-metadata">

**Author:** ![Bryan](https://discourse.bokeh.org/user_avatar/discourse.bokeh.org/bryan/32/3625_2.png) [@Bryan](https://discourse.bokeh.org/u/Bryan)\
**Post date:** [September 23, 2020, 3:57pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/2 "2020-09-23T15:57:31Z")

</div>

@zia_kayani that’s pretty unusual, to the point that I don’t really have any idea what might be going on. In order to speculate, we’d really need a [Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example).

---

<div class="post-metadata">

**Author:** ![p-himik](https://discourse.bokeh.org/user_avatar/discourse.bokeh.org/p-himik/32/4010_2.png) [@p-himik](https://discourse.bokeh.org/u/p-himik)\
**Post date:** [September 23, 2020, 4:02pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/3 "2020-09-23T16:02:25Z")

</div>

Try using lower-case color names, i.e. replace `Red` with `red`, and so on.

---

<div class="post-metadata">

**Author:** ![Bryan](https://discourse.bokeh.org/user_avatar/discourse.bokeh.org/bryan/32/3625_2.png) [@Bryan](https://discourse.bokeh.org/u/Bryan)\
**Post date:** [September 23, 2020, 4:10pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/4 "2020-09-23T16:10:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zia\_kayani](https://discourse.bokeh.org/letter_avatar_proxy/v4/letter/z/977dab/32.png) [@zia\_kayani](https://discourse.bokeh.org/u/zia_kayani)\
**Post date:** [September 23, 2020, 5:38pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/5 "2020-09-23T17:38:00Z")

</div>

Thanks @p-himik for your quick response and solution, it worked ❤

@Bryan I was working on Minimal, Reproducible Example, But its great that we found the issue. I’ll use lower-case now on.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads.bokeh.org/original/2X/1/14eb24f9e10e4e9b78e3f10f66c04ffa96446e5a.svg) [@system](https://discourse.bokeh.org/u/system)\
**Post date:** [July 21, 2021, 9:28pm UTC](https://discourse.bokeh.org/t/bokeh-migration-from-2-0-2-to-2-2-1/6401/6 "2021-07-21T21:28:42Z")

</div>


