The Bokeh logo
  • 2.4.1
  • First steps
  • User guide
  • Gallery
  • Reference
  • Contribute
  • Releases
  • Tutorial
  • Community
  • bokeh
  • bokeh.application
    • bokeh.application.application
    • Handlers
      • bokeh.application.handlers.code
      • bokeh.application.handlers.code_runner
      • bokeh.application.handlers.directory
      • bokeh.application.handlers.function
      • bokeh.application.handlers.handler
      • bokeh.application.handlers.notebook
      • bokeh.application.handlers.script
      • bokeh.application.handlers.server_lifecycle
  • bokeh.client
    • bokeh.client.connection
    • bokeh.client.session
    • bokeh.client.states
    • bokeh.client.util
    • bokeh.client.websocket
  • bokeh.colors
  • bokeh.command
    • bokeh.command.bootstrap
    • bokeh.command.subcommand
    • bokeh.command.subcommands
      • file_output
      • info
      • json
      • sampledata
      • secret
      • serve
      • static
    • bokeh.command.util
  • bokeh.core
    • bokeh.core.enums
    • bokeh.core.has_props
    • bokeh.core.json_encoder
    • bokeh.core.properties
    • Properties
      • bokeh.core.property.bases
      • bokeh.core.property.descriptor_factory
      • bokeh.core.property.descriptors
    • bokeh.core.property_mixins
    • bokeh.core.query
    • bokeh.core.templates
    • bokeh.core.validation
  • bokeh.document
    • bokeh.document.document
    • bokeh.document.events
    • bokeh.document.locking
    • bokeh.document.util
  • bokeh.driving
  • bokeh.embed
  • bokeh.events
  • bokeh.io
  • bokeh.layouts
  • bokeh.model
  • bokeh.models
    • annotations
    • arrow_heads
    • axes
    • callbacks
    • expressions
    • filters
    • formatters
    • glyphs
      • AnnularWedge
      • Annulus
      • Arc
      • Bezier
      • Circle
      • Ellipse
      • HArea
      • HBar
      • HexTile
      • Image
      • ImageRGBA
      • ImageURL
      • Line
      • MultiLine
      • MultiPolygons
      • Oval
      • Patch
      • Patches
      • Quad
      • Quadratic
      • Ray
      • Rect
      • Scatter
      • Segment
      • Step
      • Text
      • VArea
      • VBar
      • Wedge
    • graphs
    • grids
    • layouts
    • map_plots
    • mappers
    • markers
    • plots
    • ranges
    • renderers
    • scales
    • selections
    • sources
    • text
    • textures
    • tickers
    • tiles
    • tools
    • transforms
    • widgets
      • buttons
      • groups
      • icons
      • inputs
      • markups
      • sliders
      • tables
      • widget
  • bokeh.palettes
  • bokeh.plotting
    • figure
    • gmap
    • helpers
  • bokeh.protocol
  • bokeh.resources
  • bokeh.sampledata
  • bokeh.server
    • bokeh.server.auth_provider
    • bokeh.server.callbacks
    • bokeh.server.connection
    • bokeh.server.contexts
    • bokeh.server.protocol_handler
    • bokeh.server.server
    • bokeh.server.session
    • bokeh.server.tornado
    • bokeh.server.urls
    • bokeh.server.util
    • bokeh.server.views
  • bokeh.settings
  • bokeh.sphinxext
  • bokeh.themes
  • bokeh.tile_providers
  • bokeh.transform
  • bokeh.util

widgets¶

Display a variety of interactive widgets.

Note

including widgets in Bokeh output requires that the separate bokeh-widgets.js is loaded. Most Bokeh output functions will take care of this automatically. For more advanced use-cases, see bokeh.resources.

The full list of wiget categories is below:

  • buttons
    • AbstractButton
    • Button
    • Dropdown
    • Toggle
  • groups
    • AbstractGroup
    • ButtonGroup
    • CheckboxButtonGroup
    • CheckboxGroup
    • Group
    • RadioButtonGroup
    • RadioGroup
  • icons
    • AbstractIcon
  • inputs
    • AutocompleteInput
    • ColorPicker
    • DatePicker
    • FileInput
    • InputWidget
    • MultiChoice
    • MultiSelect
    • NumericInput
    • PasswordInput
    • Select
    • Spinner
    • TextAreaInput
    • TextInput
  • markups
    • Div
    • Markup
    • Paragraph
    • PreText
  • sliders
    • AbstractSlider
    • DateRangeSlider
    • DateSlider
    • RangeSlider
    • Slider
  • tables
    • AvgAggregator
    • BooleanFormatter
    • CellEditor
    • CellFormatter
    • CheckboxEditor
    • DataCube
    • DataTable
    • DateEditor
    • DateFormatter
    • GroupingInfo
    • HTMLTemplateFormatter
    • IntEditor
    • MaxAggregator
    • MinAggregator
    • NumberEditor
    • NumberFormatter
    • PercentEditor
    • ScientificFormatter
    • SelectEditor
    • StringEditor
    • StringFormatter
    • SumAggregator
    • TableColumn
    • TableWidget
    • TextEditor
    • TimeEditor
  • widget
    • Widget

previous

transforms

next

buttons

Project
  • Roadmap
  • Team
  • Branding
Documentation
  • User Guide
  • Gallery
  • Reference Guide
Hands On
  • Tutorials
  • Demos
  • Support
Contribute
  • GitHub
  • Contributor Guide
  • Sponsor

Bokeh is a fiscally sponsored project of NumFOCUS, a nonprofit dedicated to supporting the open-source scientific computing community. Donations help pay for cloud hosting costs, travel, and other project needs.

©2021 Bokeh Contributors. The website content uses the BSD License and is covered by the Bokeh Code of Conduct.

Donate