Bokeh $ code bokeh p = figure(width=1000, height=1000, sizing_mode="scale_both", toolbar_location=None) p.line([0, 1, 2], [1, 10, 5], line_width=5) script, div = simple_components(p) result = {"bokeh": "%s%s" % (div, script)} Bokeh 2 10 4 #47bbb3 #ffffff