Skip to content

Commit

Permalink
Fixed bug in Bokeh comm message handler template
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 19, 2018
1 parent 285533c commit fad207e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions holoviews/plotting/bokeh/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
# Following JS block becomes body of the message handler callback
bokeh_msg_handler = """
var plot_id = "{plot_id}";
if (plot_id in HoloViews.plot_index) {
var doc = HoloViews.plot_index[plot_id];
} else {
var doc = Bokeh.index[plot_id];
}
if (plot_id in HoloViews.plot_index) {{
var plot = HoloViews.plot_index[plot_id];
}} else {{
var plot = Bokeh.index[plot_id];
}}
if (plot_id in HoloViews.receivers) {{
var receiver = HoloViews.receivers[plot_id];
Expand Down

0 comments on commit fad207e

Please sign in to comment.