671de8c0dc2bc16ca3761f86af7c4344d62a9805,bokeh/embed.py,,file_html,#Any#Any#Any#Any#Any#,175

Before Change


            css_raw=resources.css_raw,
            css_files=resources.css_files,
        )
    except AttributeError:
        warn(
            "No Bokeh CSS Resources provided to template. If required you will need to provide them manually."
        )

After Change


    css_raw = getattr(resources, "css_raw", "")
    css_files = getattr(resources, "css_files", "")
    if css_raw or css_files:
        bokeh_css = CSS_RESOURCES.render(css_raw=css_raw, css_files=css_files)
    else:
        warn("No Bokeh CSS Resources provided to template. If required you will need to provide them manually.")

    script, div = components(plot_object)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: 671de8c0dc2bc16ca3761f86af7c4344d62a9805
Time: 2015-08-21
Author: sarah@bonvaya.com
File Name: bokeh/embed.py
Class Name:
Method Name: file_html


Project Name: home-assistant/home-assistant
Commit Name: e3307fb1c2eaf4ff05da8676d71d29b0500b312b
Time: 2017-05-23
Author: bernd@bjws.nl
File Name: homeassistant/components/sensor/hp_ilo.py
Class Name: HpIloSensor
Method Name: update


Project Name: home-assistant/home-assistant
Commit Name: aa6a0523ef60f299d9c22333fdfe52687e902ee4
Time: 2016-08-20
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/camera/generic.py
Class Name: GenericCamera
Method Name: camera_image