Add custom legend to bokeh Bar
<p>I have pandas series as:</p>

<pre><code>&gt;&gt;&gt; etypes
0    6271
1    6379
2     399
3     110
4    4184
5    1987
</code></pre>

<p>And I want to draw Bar chart in Bokeh: <code>p = Bar(etypes)</code>. However for legend I get just <code>etypes</code> index number, which I tried to decrypt with this dictionary:</p>

<pre><code>legend = {
    0: 'type_1',
    1: 'type_2',
    2: 'type_3',
    3: 'type_4',
    4: 'type_5',
    5: 'type_6',
}
</code></pre>

<p>by passing it to label argument: <code>p = Bar(etypes, label=legend)</code>, but it didn't work. Also passing the <code>list(legend.values())</code> does not work.</p>

<p>Any ideas how to add custom legend on pandas series in bokeh Bar chart?</p>