☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Map data to text_font_size in Text Glyph

Community Support
swayson1
swayson1

Hi there,

Is it possible to map a data column to the text glyph’s text_font_size property. At the moment, it seems to just ignore the text_font_size entirely.

This example snippet is for illustration purposes, it won’t be reproducible. If you need me to send reproducible example, let me know.

from bokeh.plotting import figure, output_notebook, show

p = figure(plot_width=800, plot_height=800)
p.text(x=d.x, y=d.y, text_color=d.colour, alpha=0.5, text=d.token, text_font_size=d.counts.tolist())
show(p)

Thanks,

Ockert

⌁   Link to post

End of archived discussion · Replies are disabled