3d1d2ccbe616f84cd9c63e45e267f3b4fdb09c9e,bokeh/embed.py,,notebook_div,#Any#,267
Before Change
"modeltype": ref["type"]
}]
js = PLOT_JS.render(
custom_models = _extract_custom_models(plot_object),
all_models = serialize_json(plot_object.dump()),
plots = plots
)
script = PLOT_SCRIPT.render(
plot_js = _wrap_in_function(js),
)
div = PLOT_DIV.render(elementid=elementid)
html = NOTEBOOK_DIV.render(
plot_script = script,
plot_div = div,
After Change
"""
plot_object = _check_one_plot_object(plot_object)
(docs_json, render_items) = _standalone_docs_json_and_render_items([plot_object])
item = render_items[0]
script = _script_for_render_items(docs_json, render_items, websocket_url=None)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
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: bokeh/bokeh
Commit Name: 3eaa05a6fcef60abc7680d8b4465da0032750a35
Time: 2018-06-07
Author: mattpap@gmail.com
File Name: bokeh/embed/standalone.py
Class Name:
Method Name: autoload_static
Project Name: rail-berkeley/softlearning
Commit Name: 402c19b19b4267cdfc725463b7b9d538fd2ed5ab
Time: 2018-07-09
Author: kristian.hartikainen@gmail.com
File Name: softlearning/environments/image_pusher.py
Class Name: ImagePusherEnv
Method Name: get_current_obs