Infer height of hbar plot based on number of hbars


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?


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.