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.component.Component

A base class for all interactive widget types.

JSON Prototype
{
  "disabled": false,
  "id": "5bc0924f-da4c-4f48-adcb-2ea78d4d9295",
  "name": null,
  "tags": []
}