☰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

Adding borders to rows or columns to layout

Community Support
Mateusz_Paprocki2
Mateusz_Paprocki2

Hi,

Hi,

Is there a way to add borders to rows or columns in layout? It adds some structure to the page.

there is no API for this. You could just create borders with CSS (css_classes property), but that may interfere with bokeh’s layout and may not work with future versions. Currently bokeh’s layout is being reworked from scratch, so we may have support for this in the next release.

Mateusz

···

On Sun, Dec 16, 2018 at 10:10 PM Hongyi Xin gohongyi@gmail.com wrote:

Hongyi

–

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/83657b4b-a85f-48ee-b55a-ab8b55dc6a1f%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

⌁   Link to post
Bryan
Bryan

Hi,

I would only add that, if you want this sort of control, another option is to embed Bokeh items in your own template. This is possible for standalone (non-server) Bokeh content using the "bokeh.embed.components" function, or for Bokeh server apps by specifying a template (see server docs and "dash" example).

Thanks,

Bryan

···

On Dec 17, 2018, at 07:22, Mateusz Paprocki <mpaprocki@anaconda.com> wrote:

Hi,
On Sun, Dec 16, 2018 at 10:10 PM Hongyi Xin <gohongyi@gmail.com> wrote:
Hi,

Is there a way to add borders to rows or columns in layout? It adds some structure to the page.

there is no API for this. You could just create borders with CSS (css_classes property), but that may interfere with bokeh's layout and may not work with future versions. Currently bokeh's layout is being reworked from scratch, so we may have support for this in the next release.

Mateusz

Hongyi

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/83657b4b-a85f-48ee-b55a-ab8b55dc6a1f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANFzp8gamBuWxPOxfnp0zeWCxDEyZK_HBqYhnAD9DuYAk7Ty2A%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled