File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,10 @@ def plot_manager_all_progress_bokeh(
256256 renderers = [scatter_renderer ],
257257 )
258258
259- p .add_tools (hover , "tap" )
259+ p .add_tools (
260+ hover ,
261+ #"tap" # temporarily disable tap tool
262+ )
260263
261264 p .x_range .start = data_df .x .min () - (1 if x_axis != "date" else pd .Timedelta (days = 1 ))
262265 p .x_range .end = data_df .x .max () + (1 if x_axis != "date" else pd .Timedelta (days = 1 ))
@@ -305,17 +308,17 @@ def plot_manager_all_progress_bokeh(
305308 p .yaxis .major_label_text_font_size = "12pt" # Y-axis tick font size
306309
307310 # Add callback for selection
308- source .selected .js_on_change (
309- "indices" ,
310- CustomJS (
311- args = dict (source = source ),
312- code = """
313- document.dispatchEvent(
314- new CustomEvent("TestSelectEvent", {detail: {indices: cb_obj.indices}})
315- )
316- """ ,
317- ),
318- )
311+ # source.selected.js_on_change(
312+ # "indices",
313+ # CustomJS(
314+ # args=dict(source=source),
315+ # code="""
316+ # document.dispatchEvent(
317+ # new CustomEvent("TestSelectEvent", {detail: {indices: cb_obj.indices}})
318+ # )
319+ # """,
320+ # ),
321+ # )
319322
320323 if if_show_fig :
321324 show (p )
You can’t perform that action at this time.
0 commit comments