ee266472c1987e77c0a91f429b8db549a1ed19b0,bokeh/embed.py,,notebook_div,#Any#Any#,222
Before Change
render_items[0]["notebook_comms_target"] = notebook_comms_target
preamble = EMPTY.render() // XXX: this only includes custom models
script = preamble + "\n" + _script_for_render_items(docs_json, render_items)
item = render_items[0]
After Change
script = _script_for_render_items(docs_json, render_items, wrap_script=False)
resources = EMPTY
js = AUTOLOAD_JS.render(
js_urls = resources.js_files,
css_urls = resources.css_files,
js_raw = resources.js_raw + [script],
css_raw = resources.css_raw,
elementid = item["elementid"],
)
div = _div_for_render_item(item)
html = NOTEBOOK_DIV.render(
plot_script = js,
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: bokeh/bokeh
Commit Name: ee266472c1987e77c0a91f429b8db549a1ed19b0
Time: 2016-01-04
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: notebook_div
Project Name: MorvanZhou/tutorials
Commit Name: 22a64f59bb70e6d2f75546d726c24a92addabecb
Time: 2017-03-06
Author: morvanzhou@gmail.com
File Name: Reinforcement_learning_TUT/5.2_Prioritized_Replay_DQN/run_MountainCar.py
Class Name:
Method Name: train
Project Name: bokeh/bokeh
Commit Name: 3d1d2ccbe616f84cd9c63e45e267f3b4fdb09c9e
Time: 2015-10-23
Author: hp@pobox.com
File Name: bokeh/embed.py
Class Name:
Method Name: notebook_div
Project Name: lcswillems/torch-rl
Commit Name: 2143ec0e8e6a02fade949bf15d9670500ce06234
Time: 2018-04-18
Author: lcswillems@gmail.com
File Name: scripts/enjoy.py
Class Name:
Method Name:
Project Name: openai/baselines
Commit Name: 6c44fb28fecdb666182e2951b7b1cbe9cf198ff1
Time: 2018-12-19
Author: peterzhokhoff@gmail.com
File Name: baselines/her/rollout.py
Class Name: RolloutWorker
Method Name: generate_rollouts