The python bokeh.document.Document is a class provided in the Bokeh library that represents a Bokeh document. It is used to organize and manage Bokeh models, such as plots, layouts, and widgets, within a document. The document acts as a container for these models, allowing users to create, update, and remove models as needed. It also provides methods to save and load documents, allowing users to persist their work. Additionally, the document class provides features for interactivity, allowing users to create dynamic and responsive visualizations by embedding JavaScript events in the document. Overall, the bokeh.document.Document class serves as a fundamental component for creating Bokeh applications, providing a structure and functionality for organizing and manipulating Bokeh models within a document.
Python Document - 60 examples found. These are the top rated real world Python examples of bokeh.document.Document extracted from open source projects. You can rate examples to help us improve the quality of examples.