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)

Bases: bokeh.models.layouts.LayoutDOM

A base class for all interactive widget types.

JSON Prototype
{
  "disabled": false,
  "height": null,
  "id": "01287659-a4a2-4553-ba0d-6ff33844b81b",
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "width": null
}