On Feb 25, 2018, at 13:08, tongli.bioinfo@gmail.com wrote:
Hi,
In general, you can find a web development area for Javascript logging information.
In firefox, you can go to
tools -> web development -> web console
In safari, it's
develop -> show javascript console
Tong
On Friday, 23 February 2018 23:06:51 UTC+1, hli...@oceana.org wrote:
Does anyone know if there is a way to see and debug javascript in a callback that is run in bokeh? Any help is much appreciated, thank-you!
For instance, I am running very simple, static code to debug my slider but I can't see the results from running the code in def update_line because it is in javascript:
def update_line(source=source, window=None):
data = source.data
source['selected']['2d'].indices = {4: [5, 6]}
source.change.emit()
###call slider
slider = Slider(start=1, end=3000, value=1, step=1, callback=CustomJS.from_py_func(update_line))
layout = column(slider, plot)
show(layout)
--
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/90707376-78b3-49e7-9249-138f3285145f%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.