在bokeh中制作小部件时,有什么方法可以提供自定义CSS?例如:
country_picker = widgets.MultiSelect(value=[],
title='country',
options=list(self.df['country_code'].unique()) + ['All'],
width=180,
height=120,
css=""".bk-layout-scale_height .bk widget-form-input {
height: 180px !important;}
""")
Run Code Online (Sandbox Code Playgroud)
我有一个特殊的多重选择器,具有60多个选项,因此我想提高它。虽然我想将其他多选择器保持较小。