widgets.ToggleButtons(options=["No","Yes"], value="Yes",description="values?",)
Take a look at the docs . I'm not familiar with ipywidgets so I might be wrong, but I think you can do:
widgets.ToggleButtons(options=["No","Yes"], value="Yes",description="values?", style=dict(
font_size="18px",
font_style='italic',
font_weight='bold',
font_variant="small-caps",
text_color='red',
text_decoration='underline'
))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.