☰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

Spacer background attribute [Release 3.0.2]

Community Support
ptorab
ptorab

I’m in the middle of migrating from 2.4 to 3.0 (on 3.0.2 now), and one of the broken items I can’t fix is the background attribute; I use several Spacer instances in a complex layout, typically,

some sort of layout = column(
widget1,
…,
Spacer(height=8, margin=(8, 0, 8, 0), background=“lightgray”),
…
Spacer(height=8, margin=(8, 0, 8, 0), background=“lightgray”),
…)

The background attribute is not working anymore. Any suggestions?

3.0.2 documentation for the background attribute is also curious now; it still lists the attribute (under “Inherited from LayoutDOM”), but no description is given.

⌁   Link to post

End of archived discussion · Replies are disabled