Provide a base class for all Bokeh widget models.
In addition to different kinds of plots, various kinds of UI controls (e.g. sliders, buttons, inputs, etc.) can be included in Bokeh documents. These widgets can be used in conjunction with CustomJS callbacks that execute in the browser, or with python callbacks that execute on a Bokeh server.
CustomJS
Widget
Bases: bokeh.models.layouts.LayoutDOM
bokeh.models.layouts.LayoutDOM
A base class for all interactive widget types.
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.
default_size
property type: Int
Int
The default size (width or height) in the dominating dimension.
The dominating dimension is determined by widget orientation.
orientation
property type: Enum ( Enumeration(horizontal, vertical) )
Enum
Orient the widget either horizontally (default) or vertically.
Note that not all widgets support vertical orientation.
{ "align": "start", "aspect_ratio": null, "background": null, "css_classes": [], "default_size": 300, "disabled": false, "height": null, "height_policy": "auto", "id": "14816", "js_event_callbacks": {}, "js_property_callbacks": {}, "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" }