☰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

Making Text glyph size absolute in data coordinates via 'text_font_size'

Community Support
Han
Han

Hi there, I’m trying to plot a network graph with text labels on all the nodes. It would be helpful if the Text glyphs were sized the same way as the node glyphs (Ellipse) in that the size stays constant in data space. So zooming in and out would make the text larger/smaller in screen space. Hopefully I’m using the correct terminology. Looking at css font-size units, I’ve tried pt, px, em and ex and all lead to text remaining the same size (on the screen) when zooming.

Is there any way to achieve this?

Thanks,
Han

⌁   Link to post

End of archived discussion · Replies are disabled