7d68b85a627ad234a646cdb1d8b331c99e5d4949,examples/embed/embed_multiple.py,,,#,10

Before Change



html_file = "embed_multiple.html"
with open(html_file, "w") as textfile:
    textfile.write(template.render(script=script, div=div))
url = "file:{}".format(six.moves.urllib.request.pathname2url(os.path.abspath(html_file)))
webbrowser.open(url)

After Change


""")

js_resources = INLINE.render_js()
css_resources = INLINE.render_css()

html_file = "embed_multiple.html"

html = template.render(js_resources=js_resources,
                       css_resources=css_resources,
                       script=script,
                       div=div)

with open(html_file, "w") as textfile:
    textfile.write(html)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 7d68b85a627ad234a646cdb1d8b331c99e5d4949
Time: 2015-11-02
Author: bryanv@continuum.io
File Name: examples/embed/embed_multiple.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: d5e0c1d3f595d7b3a9a04135aca88864186fbc69
Time: 2015-10-21
Author: mattpap@gmail.com
File Name: bokeh/tests/test_embed.py
Class Name:
Method Name: test_file_html_handles_css_only_resources


Project Name: bokeh/bokeh
Commit Name: 445392ed572b7582a7c3ca6fd7aceb681b7f59f6
Time: 2015-10-26
Author: hp@pobox.com
File Name: bokeh/embed.py
Class Name:
Method Name: _html_page_for_render_items