Adding borders to rows or columns to layout

Hi,

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

Hongyi

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 [email protected] 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 [email protected].

To post to this group, send email to [email protected].

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.

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 <[email protected]> wrote:

Hi,
On Sun, Dec 16, 2018 at 10:10 PM Hongyi Xin <[email protected]> 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 [email protected].
To post to this group, send email to [email protected].
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 [email protected].
To post to this group, send email to [email protected].
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.