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": "080dfd77-4bfc-41c9-9080-48a0f754c9ad",
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "width": null
}