☰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

Div widget markup, text not wrapping up

Community Support
_jm
_jm

@Nempickaxe

If this is the offending Div model in your screenshot

an issue could be that there is nowhere that the string can be broken to affect a wrap according to the default string-break rules. You can try adding whitespace at natural places if that works for your use case or you could pass CSS style options to the bokeh Div as a dictionary. One example might be

div = Div(..., style={'overflow-wrap': 'break-word'})

where the ellipses are the other settings you want to specify for the model.

⌁   Link to post

End of archived discussion · Replies are disabled