Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Apr 26, 2018
1 parent be8c88c commit a7c1a23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion application/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


TOOLS = "hover, pan, reset, wheel_zoom, zoom_in, zoom_out"
JAVASCRIPT = """
JAVASCRIPT = r"""
var autocomplete = cb_obj.value;
var names = %s;
var exclude = /[!#$&\'"()*+,-\s./:;<=>?@^_`{|}~]/g
Expand All @@ -32,6 +32,7 @@
}
"""

JAVASCRIPT = r"console.log(1)"

def compress(data, filepath):
"""
Expand Down Expand Up @@ -188,6 +189,7 @@ def barchart(document_topics, height, topics=None, script=JAVASCRIPT, tools=TOOL
textfield = bokeh.models.widgets.AutocompleteInput(completions=options,
placeholder=title,
callback=callback)

return bokeh.layouts.layout([[fig, textfield]], sizing_mode='scale_width')


Expand Down

0 comments on commit a7c1a23

Please sign in to comment.