Good day,
I have been working with adding labels to my plots for publishing purposes(they ask for .svg quality). However, I see that bokeh doesn’t show any text or label glyphs when the output_backend is set up as “svg”. I didn’t find another related topic through this forum nor google, so hopefully I am not reposting something well known.
Here is a minimal code scenario:
z = figure(title="Testing text plotting with svg support",
x_range=(0, 8), y_range=(0, 8), width=500, height=500)
z.text(x=[2, 4, 6], y=[2, 4, 6], text=['Dos', 'Cuatro', 'Seis'])
#Change to 'canvas' for default backend setting
z.output_backend = 'svg'
show(z)
I could always add these labels manually by inkscape, but I was wondering if there is a workaround?
Have a great weekend,
Martin