In Holoviews, you could do hv.opts.defaults(hv.opts.Area(...))
; is there an equivalent in panel?
I want all my pn.Row()
to have sizing_mode='stretch_width'
unless otherwise specified
In Holoviews, you could do hv.opts.defaults(hv.opts.Area(...))
; is there an equivalent in panel?
I want all my pn.Row()
to have sizing_mode='stretch_width'
unless otherwise specified
pn.config.sizing_mode=‘stretch_width’
But this will then be for all layouts, panes and widgets.
All Parameterized objects can have their defaults changed, e.g.:
pn.Row.sizing_mode = 'stretch_width'