0fe228aa0bf5479458a68bf90b4430885410bd92,lib/streamlit/DeckGlChart.py,,marshall,#Any#Any#Any#,18

Before Change


    See DeltaGenerator.deck_gl_chart for docs.
    
    if layers is None:
        layers = []

    // Syntax sugar: if no layers defined and data is passed at the top
    // level, created a scatterplot layer with the top-level data by default.
    if data is not None and not layers:

After Change


        data = pd.DataFrame(data)

    if spec is None:
        spec = dict()

    // Merge spec with unflattened kwargs, where kwargs take precedence.
    // This only works for string keys, but kwarg keys are strings anyways.
    spec = dict(spec, **unflatten(kwargs, _ENCODINGS, set(["viewport"])))

    if "layers" not in spec:
        spec["layers"] = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: streamlit/streamlit
Commit Name: 0fe228aa0bf5479458a68bf90b4430885410bd92
Time: 2018-10-22
Author: thiagot@gmail.com
File Name: lib/streamlit/DeckGlChart.py
Class Name:
Method Name: marshall


Project Name: wkentaro/labelme
Commit Name: f20a9425698f1ac9b48b622e0140016e9b73601a
Time: 2020-01-09
Author: www.kentaro.wada@gmail.com
File Name: tests/labelme_tests/test_app.py
Class Name:
Method Name: test_MainWindow_annotate_jpg


Project Name: NifTK/NiftyNet
Commit Name: 7714d8056e64d3f4fa8a4e07ab096a31e7047f55
Time: 2018-01-08
Author: rmaplue@ucl.ac.uk
File Name: niftynet/network/dense_vnet.py
Class Name: DenseVNet
Method Name: __init__