On Mar 28, 2017, at 20:55, Jeff Zhang <zjffdu@gmail.com> wrote:
Thanks Dennis, what I want to is to write call back via python, just like bokeh app.
Dennis O'Brien <dennis@dennisobrien.net>于2017年3月28日周二 上午10:39写道:
Hi Jeff,
You can write callbacks in Python that are executed in JavaScript in the browser. It covers a lot of common use cases, but there are limitations of course. Here's some documentation that has links to the PyScript docs:
http://bokeh.pydata.org/en/latest/docs/user_guide/interaction/callbacks.html#customjs-with-a-python-function
HTH,
Dennis
On Thu, Mar 23, 2017 at 12:47 AM Jeff Zhang <zjffdu@gmail.com> wrote:
Hi,
I check the following bokeh tutorial notebook, It seems for interactive visualization, bokeh has to use CustomJS, while for interactive app, bokeh can just use pure python. (Correct me if I am wrong), I am just wondering is it possible to use pure python code for the interactive visualization ? Thanks
https://github.com/bokeh/bokeh-notebooks/blob/master/tutorial/00%20-%20intro.ipynb
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2e16133e-9653-4cc5-a213-b171ec28de80%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAPUwX3OGAx3mtx_J_bSGHBU7Pydx-aH88ecnZzR6qUC4UO8jRQ%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAADy7x4G5v2G9%3DEh6fQ1BPDbY3h4PfYpW%3DUd-x%3D98PALntqQfg%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.