AbstractGroup
Bases: bokeh.models.widgets.widget.Widget
bokeh.models.widgets.widget.Widget
Abstract base class for all kinds of groups.
Note
This is an abstract base class used to help organize the hierarchy of Bokeh model types. It is not useful to instantiate on its own.
callback
property type: Instance ( Callback )
Instance
Callback
A callback to run in the browser whenever a button group is manipulated.
labels
property type: List ( String )
List
String
List of text labels contained in this group.
js_on_click
Set up a handler for button check/radio box clicks including the selected indices.
on_click
handler (func) – handler function to call when button is clicked.
None
{ "align": "start", "aspect_ratio": null, "background": null, "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14626", "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
ButtonGroup
Bases: bokeh.models.widgets.groups.AbstractGroup, bokeh.models.widgets.buttons.ButtonLike
bokeh.models.widgets.groups.AbstractGroup
bokeh.models.widgets.buttons.ButtonLike
Abstract base class for groups with items rendered as buttons.
{ "align": "start", "aspect_ratio": null, "background": null, "button_type": "default", "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14629", "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
CheckboxButtonGroup
Bases: bokeh.models.widgets.groups.ButtonGroup
bokeh.models.widgets.groups.ButtonGroup
A group of check boxes rendered as toggle buttons.
active
property type: List ( Int )
Int
The list of indices of selected check boxes.
{ "active": [], "align": "start", "aspect_ratio": null, "background": null, "button_type": "default", "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14630", "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
CheckboxGroup
Bases: bokeh.models.widgets.groups.Group
bokeh.models.widgets.groups.Group
A group of check boxes.
{ "active": [], "align": "start", "aspect_ratio": null, "background": null, "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14632", "inline": false, "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
Group
Bases: bokeh.models.widgets.groups.AbstractGroup
Abstract base class for groups with items rendered as check/radio boxes.
inline
property type: Bool
Bool
Should items be arrange vertically (False) or horizontally in-line (True).
False
True
{ "align": "start", "aspect_ratio": null, "background": null, "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14634", "inline": false, "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
RadioButtonGroup
A group of radio boxes rendered as toggle buttons.
property type: Int
The index of the selected radio box, or None if nothing is selected.
{ "active": null, "align": "start", "aspect_ratio": null, "background": null, "button_type": "default", "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14636", "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }
RadioGroup
A group of radio boxes.
{ "active": null, "align": "start", "aspect_ratio": null, "background": null, "callback": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14638", "inline": false, "js_event_callbacks": {}, "js_property_callbacks": {}, "labels": [], "margin": [ 5, 5, 5, 5 ], "max_height": null, "max_width": null, "min_height": null, "min_width": null, "name": null, "orientation": "horizontal", "sizing_mode": null, "subscribed_events": [], "tags": [], "visible": true, "width": null, "width_policy": "auto" }