You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
related to #339, we need a way to plug python and javascript code into Bokeh
building applets inside Bokeh
The user would pass a python library into the bokeh server, as well as a directory of javascript/css files which we add a new static route to. The user also places an assets.json file in that directory which we read, and we add all those resources to the page. The python/js libs would define new models/views, and the user would construct them as they normally construct plots, and the applet would show up in the bokeh server
There is an extra complication in that it would be nice to debug your applet even when the server is running in splitjs mode. That should be easily solveable by having a global object that triggers an event when the bokeh library is loaded, which user plugins can trigger off of.
building bokeh applets inside the IPython notebook
output_notebook would have to be made aware of the javascript/css path, and assets.json file. these are then concatenated and funelled into the notebook, along with bokeh.js Everything else should work as normal
working with bokeh inside an external application
generate an embed snippet (I believe we have these for server and non-server plots), and embed that in the page
Bokeh should be extended so that the user can retrieve bokeh objects by name, we can trigger some event when a specific plot is loaded, the user can listen for that event and do whatever they want.
I think this is pretty much the same for bokeh-server and non-server plots, except that you could modify the bokeh objects in your server if you wanted to.
we need to bake the concept of read/read-write permissions into all our embedding functions
The text was updated successfully, but these errors were encountered:
related to #339, we need a way to plug python and javascript code into Bokeh
building applets inside Bokeh
The user would pass a python library into the bokeh server, as well as a directory of javascript/css files which we add a new static route to. The user also places an
assets.json
file in that directory which we read, and we add all those resources to the page. The python/js libs would define new models/views, and the user would construct them as they normally construct plots, and the applet would show up in the bokeh serverThere is an extra complication in that it would be nice to debug your applet even when the server is running in splitjs mode. That should be easily solveable by having a global object that triggers an event when the bokeh library is loaded, which user plugins can trigger off of.
building bokeh applets inside the IPython notebook
output_notebook would have to be made aware of the javascript/css path, and assets.json file. these are then concatenated and funelled into the notebook, along with bokeh.js Everything else should work as normal
working with bokeh inside an external application
The text was updated successfully, but these errors were encountered: