☰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

Resize a vplot / VBox

Community Support
Sarah_Bird1
Sarah_Bird1

Hi all,

I have a vplot (formerly a VBox) generated using bokeh (python) and I’d like to be able to resize client side using bokehjs.

I can happily do this for a Plot

Bokeh.index[“”].model.set(‘plot_width’, 1200);

But it doesn’t seem to be working if the object is a vplot. Am I going to have to reach in and resize different sub-elements manually? If so, can anyone recommend a strategy.

Many thanks,

Bird

⌁   Link to post
Fabio_Pliger
Fabio_Pliger

Hi Sarah,

I’d say that yes, vplot is different from the plot objects and cannot be explicitly resized (so that children get’s resized accordingly). I may be missing something so I will ask confirmation to the other core devs that have been more into this part of Bokeh.

My advice is that if you need need to resize different sub-elements, you can go manually depending on your own specific needs.

Fabio

···

On Sunday, April 5, 2015 at 1:18:13 PM UTC+2, Sarah Bird wrote:

Hi all,

I have a vplot (formerly a VBox) generated using bokeh (python) and I’d like to be able to resize client side using bokehjs.

I can happily do this for a Plot

Bokeh.index[“”].model.set(‘plot_width’, 1200);

But it doesn’t seem to be working if the object is a vplot. Am I going to have to reach in and resize different sub-elements manually? If so, can anyone recommend a strategy.

Many thanks,

Bird

⌁   Link to post

End of archived discussion · Replies are disabled