I am trying to change the font attributes (weight, color, etc.) of a jupyter shortcut widget in python 2.7. As an example, I tried the following:
import ipywidgets as widgets
myLabel= widgets.Label(value = 'Some Label',color = '#ff0000')
myLabel
When I run this bit of code, I get no errors, however the label color remains black by default.
source
share