Im ploting some panel widgets using the following code.
slider_t1 = pn.widgets.IntSlider(name='Threshold-1', ...)
slider_t2 = pn.widgets.IntSlider(name='Threshold-2', ...)
toggles = pn.widgets.ToggleGroup(
name='Gradient',
options=['L1','L2'],
value='L1',
behavior='radio',
orientation='horizontal',
)
...
column_adjust = pn.Column('## Adjust',
slider_t1, slider_t2, toggles, reset_button,
styles=dict(background='Wheat'))
pn.Row(pn.bind(get_image, slider_t1, slider_t2, toggles), column_adjust)
And here’s the output:
As you can see in the output, the name of the sliders are visible, but that of the ToggleGroup is not visible though it is passed in the code as name='Gradient'
. How Do I make the name visible?