b58c65f400f80ec3b21cd0291eb29edfb9f8d97a,bokeh/embed.py,,_append_plot,#Any#Any#Any#Any#Any#,210
Before Change
objs = plot_object.references()
for obj in objs:
impl = getattr(obj, "__implementation__", None)
if impl is not None:
impl = "["%s", {}]" % _escape_code(impl)
custom_models[obj.__class__.__name__] = impl
After Change
def _append_plot(custom_models, all_models, plots, plot_object, elementid):
ref = plot_object.ref
custom_models.update(_extract_custom_models(plot_object))
for item in plot_object.dump():
all_models[item["id"]] = item
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: bokeh/bokeh
Commit Name: b58c65f400f80ec3b21cd0291eb29edfb9f8d97a
Time: 2015-09-18
Author: mattpap@gmail.com
File Name: bokeh/embed.py
Class Name:
Method Name: _append_plot
Project Name: elbayadm/attn2d
Commit Name: e4f51e18508dc20ca379025108e59490dd59a6e0
Time: 2018-09-03
Author: alexei.b@gmail.com
File Name: eval_lm.py
Class Name:
Method Name: main