Bokeh Server Best Practices


I wanted to ask what is considered best practice when using bokeh server

Scenario 1: Having to update a plot. The two alternatives that I am considering are

  • Removing the existing plot from curdoc() and adding new plot
  • Connecting widgets or callbacks to update plot model

Scenario 2: Adding a plot to a document after the user makes certain selections (i.e., loads data, select chart aesthetics, etc). Should we create an dummy plot that is set to visible = False?

I understand how to do this things but I want to get a better picture overall if these are correct strategies or there is more I am not aware of.


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.