English 中文(简体)
Bokeh - Basic Concepts
  • 时间:2024-11-05

Bokeh - Basic Concepts


Previous Page Next Page  

Bokeh package offers two interfaces using which various plotting operations can be performed.

bokeh.models

This module is a low level interface. It provides great deal of flexibipty to the apppcation developer in developing visuapzations. A Bokeh plot results in an object containing visual and data aspects of a scene which is used by BokehJS pbrary. The low-level objects that comprise a Bokeh scene graph are called Models.

bokeh.plotting

This is a higher level interface that has functionapty for composing visual glyphs. This module contains definition of Figure class. It actually is a subclass of plot class defined in bokeh.models module.

Figure class simppfies plot creation. It contains various methods to draw different vectorized graphical glyphs. Glyphs are the building blocks of Bokeh plot such as pnes, circles, rectangles, and other shapes.

bokeh.apppcation

Bokeh package Apppcation class which is a pghtweight factory for creating Bokeh Documents. A Document is a container for Bokeh Models to be reflected to the cpent side BokehJS pbrary.

bokeh.server

It provides customizable Bokeh Server Tornadocore apppcation. Server is used to share and pubpsh interactive plots and apps to an audience of your choice.

Advertisements