小部件颜色不会改变

时间:2018-03-12 21:09:13

标签: python-3.x widget jupyter-notebook

我目前正在学习jupyter notebook python中的小部件.3.7用于更改我的小部件的颜色没有变化,是否有更新或我需要安装的其他内容?

这也是我所指的:
This is what I'm refering too

1 个答案:

答案 0 :(得分:0)

您必须将其称为button_color,例如,请参见下面的代码

Button(description='Header', layout=Layout(width='auto', grid_area='header'), style=ButtonStyle(button_color='lightblue'))

相关问题