![]() This also triggers callbacks that update the plots with the input inĬonsider a few different scenarios when you might want to use the Bokeh server. Manipulating the UI controls communicates new values to the backend via Bokeh Here’s a simple example from that illustrates this behavior. Underlying Python environment and the BokehJS library running in the browser. The primary purpose of the Bokeh server is to synchronize data between the This is where the Bokeh server comes into play: Use periodic, timeout, and asynchronous callbacks to drive streaming updates Respond to UI and tool events in the browser with computations or queriesĪutomatically push server-side updates to the UI elements such as widgets or However, keeping these models in sync between the Python environment and theīrowser would provide further powerful capabilities: For instance, it isĮasy to have other languages, such as R or Scala, drive Bokeh plots and This flexible and decoupled design offers some advantages. Glyphs, and then converts these objects to JSON to pass them to its client Yourself with some of the core concepts of Bokeh in the sectionīokeh server makes it easy to create interactive web applications that connectįront-end UI events to running Python code.īokeh creates high-level Python models, such as plots, ranges, axes, and To make this guide easier to follow, consider familiarizing
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |