In bokeh 0.12.6, trying to use the svg backend with a legend of multiple glyph colors sets all the glyphs to use the color of the last glyph loaded into the legend. What should happen is that I should see a red diamond and blue square, but instead when using the svg backend, you see a blue diamond and square in the legend.
import bokeh.plotting as bp
import bokeh.models as bm
fig = bp.figure(output_backend='svg')
cross = fig.diamond(x=1,y=1,color='red')
square = fig.square(x=2,y=1)
legends = [['circle',[cross]],['square',[square]]]
legend = bm.Legend(items=legends)
fig.add_layout(legend,'left')
bp.show(fig)
gives

whereas
import bokeh.plotting as bp
import bokeh.models as bm
fig = bp.figure(output_backend='canvas')
cross = fig.diamond(x=1,y=1,color='red')
square = fig.square(x=2,y=1)
legends = [['circle',[cross]],['square',[square]]]
legend = bm.Legend(items=legends)
fig.add_layout(legend,'left')
bp.show(fig)
gives

as expected. I'm running this in a jupyter notebook, with python3.5.2, installed using conda4.3.24 on Firefox on RHEL7
In bokeh 0.12.6, trying to use the svg backend with a legend of multiple glyph colors sets all the glyphs to use the color of the last glyph loaded into the legend. What should happen is that I should see a red diamond and blue square, but instead when using the svg backend, you see a blue diamond and square in the legend.
gives

whereas
gives

as expected. I'm running this in a jupyter notebook, with python3.5.2, installed using conda4.3.24 on Firefox on RHEL7