How to keep responsive=True from compressing into a single line

Add responsive=True,
Add min_height
Add sizing_mode=“stretch_both”
to prevent:

pn.Column(pn.pane.HoloViews(hv.Curve([0, 1, 2]).opts(responsive=True), min_height=500), pn.widgets.TextInput(), pn.widgets.TextInput(), sizing_mode="stretch_both")
1 Like

For me it seems to work regardless of min_height being set or not. With that being I have seen this infamous zero height plot… I have made an issue to have it just easy to work on sizing mode=stretch_both on Github.

Maybe it’s only in notebook

1 Like

What version of Panel/ Bokeh are you using. The re was a regression in Bokeh some minor versions ago leading to that problem.