跳到主要内容
Ctrl+K
The Bokeh logo
  • 入门指南
  • 用户指南
  • 示例
  • 参考
  • 贡献
  • 发布
  • 教程
  • 社区
  • GitHub
  • 入门指南
  • 用户指南
  • 示例
  • 参考
  • 贡献
  • 发布
  • 教程
  • 社区
  • GitHub

章节导航

  • 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
      • static
      • file_output
      • info
      • static
      • json
      • secret
      • serve
      • static
    • bokeh.command.util
  • bokeh.core
    • bokeh.core.enums
    • bokeh.core.has_props
    • bokeh.core.json_encoder
    • bokeh.core.properties
    • 属性
      • bokeh.core.property.bases
      • bokeh.core.property.descriptor_factory
      • bokeh.core.property.descriptors
    • bokeh.core.property_mixins
    • bokeh.core.query
    • bokeh.core.serialization
    • bokeh.core.templates
    • bokeh.core.validation
  • bokeh.document
    • bokeh.document.document
    • bokeh.document.events
    • bokeh.document.locking
  • bokeh.driving
  • bokeh.embed
  • bokeh.events
  • bokeh.io
  • bokeh.layouts
  • bokeh.model
  • bokeh.models
    • annotations
    • axes
    • callbacks
    • comparisons
    • css
    • expressions
    • filters
    • formatters
    • glyphs
      • Annular Wedge
      • Annulus
      • Arc
      • Bezier
      • Block
      • Circle
      • Ellipse
      • HArea
      • HAreaStep
      • HBar
      • HexTile
      • HSpan
      • HStrip
      • Image
      • ImageRGBA
      • ImageStack
      • ImageURL
      • Line
      • Marker
      • MathMLGlyph
      • MathTextGlyph
      • MultiLine
      • MultiPolygons
      • Ngon
      • Patch
      • Patches
      • Quad
      • Quadratic
      • Ray
      • Rect
      • Scatter
      • Segment
      • Step
      • TeXGlyph
      • Text
      • VArea
      • VAreaStep
      • VBar
      • VSpan
      • VStrip
      • Wedge
      • XYGlyph
    • graphs
    • grids
    • layouts
    • map_plots
    • mappers
    • plots
    • ranges
    • renderers
    • scales
    • selections
    • selectors
    • sources
    • text
    • textures
    • tickers
    • tiles
    • tools
    • transforms
    • ui
      • dialogs
      • inspector
      • icons
      • menus
      • tooltips
      • ui_element
    • widgets
      • buttons
      • groups
      • inputs
      • markups
      • sliders
      • tables
      • widget
  • bokeh.palettes
  • bokeh.plotting
    • contour
    • 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.transform
  • bokeh.util
  • 参考
  • bokeh.models
  • widgets

widgets#

显示各种交互式 widgets。

注意

在 Bokeh 输出中包含 widgets 需要加载单独的 bokeh-widgets.js 文件。大多数 Bokeh 输出函数会自动处理这一点。对于更高级的用例,请参阅 bokeh.resources。

以下是完整的 widget 类别列表

  • buttons
    • AbstractButton
    • Button
    • ButtonLike
    • Dropdown
    • HelpButton
    • Toggle
  • groups
    • AbstractGroup
    • CheckboxButtonGroup
    • CheckboxGroup
    • RadioButtonGroup
    • RadioGroup
    • ToggleButtonGroup
    • ToggleInputGroup
  • inputs
    • AutocompleteInput
    • Checkbox
    • ColorPicker
    • FileInput
    • InputWidget
    • MultiChoice
    • MultiSelect
    • NumericInput
    • PaletteSelect
    • PasswordInput
    • Select
    • Spinner
    • Switch
    • TextAreaInput
    • TextInput
    • ColorMap()
  • markups
    • Div
    • Markup
    • Paragraph
    • PreText
  • sliders
    • AbstractSlider
    • CategoricalSlider
    • DateRangeSlider
    • DateSlider
    • DatetimeRangeSlider
    • 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

上一页

ui_element

下一页

buttons

项目
  • 路线图
  • 团队
  • 品牌
文档
  • 用户指南
  • 示例
  • 参考指南
实践
  • 教程
  • 演示
  • 支持
贡献
  • GitHub
  • 贡献者指南
  • 赞助

Bokeh 是 NumFOCUS 的一项财政赞助项目,NumFOCUS 是一个致力于支持开源科学计算社区的非营利组织。捐款有助于支付云托管成本、差旅和其他项目需求。

©2025 Bokeh 贡献者。本网站内容使用 BSD 许可证,并受 Bokeh 行为准则 约束。

捐赠