Sort of a basic question. But I couldn’t find the answer here https://panel.holoviz.org/user_guide/Customization.html .
Given some class the obvious way to create a panel of parameters is the following:
class Something(): # Some Params str1 = param.String('1') str2 = param.String('2') A = Something() pn.Column(A.param).servable()
However, what if I want to control the layout of A.param? Or only show some of the parameters? Additionally, how could I set the “margin” and other properties of widgets for different parameters?
An Psuedo-code of what I want would be:
class Something(param.Parameterized): # Some Params str1 = param.String('1') str2 = param.String('2') pane1= pn.panel(str1,margin = (25,25,25,25)) pane2= pn.panel(str2,margin = (25,25,25,25)) row = pn.Row(pane1,pane2) A = Something() pn.Column(A.row).servable()