I have a plot with 7 patches on it. They were added individually so I could specify a legend for each.
In the legend box, the items are not appearing in the same order the patches were added. I see this is also the same here: http://bokeh.pydata.org/docs/gallery/legend.html - the legend order is: [3sin, sin, 2sin] but the lines were added [sin, 2sin, 3sin].
Is there any way to specify the order of the legend or to force it to render in the same order that plotting functions are added?