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": "3b0e6de0-57e2-428d-802b-fc11cd7fb2fa",
  "name": null,
  "sizing_mode": "fixed",
  "tags": [],
  "width": null
}