bokeh.models.widgets.widget

Bokeh can present many kinds of UI widgets alongside plots. When used in conjunction with the Bokeh server, it is possible to trigger events, updates, etc. based on a user’s interaction with these widgets.

class Widget(**kwargs)[source]

Bases: bokeh.models.layouts.LayoutDOM

A base class for all interactive widget types.

JSON Prototype
{
  "css_classes": null,
  "disabled": false,
  "height": null,
  "id": "fbcab11e-7818-488a-9877-83307837756c",
  "js_callbacks": {},
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "width": null
}