I was browsing through examples, docs, and Google, and I cannot find an example or explanation of how to do this simply ...
I use the JavaScript library directly, and when I add a glyph to the graphic, I just want to specify the display order of this glyph. I have glyphs that intentionally overlap, and I need to indicate that one of them is on top. I believe I can get a list of all the renderings using figure.renderersand sort them manually, but this seems like an incredible comedy and rude ...
I tried using a parameter levellike
figure.text(x, y, 'text', {
text_align: "center",
text_baseline: "middle",
text_font_size: {
value: '8pt'
},
level: 'overlay'
});
but i always get the error
bokeh-0.12.0.min.js:3 Uncaught Error: Text.set('level'): level wasn't declared
level , . , , , MatplotLib.
Bokeh?