Answers for "ipywidgets label text color"

0

ipywidgets label text color

text = 'Some text'

htmlWidget = widgets.HTML(value = f"<b><font color='red'>{text}</b>")

labelWidget = widgets.Label(value = r'\(\color{red} {' + text  + '}\)')
Posted by: Guest on August-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language