☰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

Infer height of hbar plot based on number of hbars

Community Support
Johannes
Johannes

Hello,

I’d like to create a number of hbar plots with different number of bars in a tab layout. I’d like them to have the same bar height, the plot height should be based on the number of bars. Is there an out-of-the-box way to achieve this? Or do I have to compute a plot_height depending on the number of bars?

Thanks,
Johannes

⌁   Link to post
Bryan
Bryan

I think this is the only option. Plot dimensions can be fixed or can be made responsive to the window size. There is no built-in mechanism to make the overall plot size relative to the plot contents.

⌁   Link to post

End of archived discussion · Replies are disabled