b48a0fbc622cedf746f04a4f223a1de5f1a8e4bb,plotnine/stats/stat_boxplot.py,stat_boxplot,compute_group,#Any#Any#Any#,72

Before Change


             "upper": res["q3"],
             "ymax": res["whishi"],
             "outliers": [res["fliers"]],
             "notchupper": res["med"]+1.58*res["iqr"]/np.sqrt(n),
             "notchlower": res["med"]-1.58*res["iqr"]/np.sqrt(n),
             "x": x,
             "width": width,

After Change


        try:
            weights = np.array(data["weight"])
        except KeyError:
            weights = np.ones(len(data["y"]))
        y = np.array(data["y"])
        res = weighted_boxplot_stats(y, weights=weights, whis=params["coef"])

        if len(np.unique(data["x"])) > 1:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: has2k1/plotnine
Commit Name: b48a0fbc622cedf746f04a4f223a1de5f1a8e4bb
Time: 2020-12-15
Author: jchart@uvic.ca
File Name: plotnine/stats/stat_boxplot.py
Class Name: stat_boxplot
Method Name: compute_group


Project Name: tensorflow/models
Commit Name: b1a704d791a4524510e1c8bdb99f1a3c7907c9d1
Time: 2018-06-22
Author: 31663267+k-w-w@users.noreply.github.com
File Name: official/transformer/model/beam_search_test.py
Class Name: BeamSearchHelperTests
Method Name: test_shape_list


Project Name: elfi-dev/elfi
Commit Name: 55bd09be272701797abcf9e549fffe8b0311e387
Time: 2017-03-28
Author: jarno.lintusaari@aalto.fi
File Name: elfi/bo/gpy_model.py
Class Name: GPyRegression
Method Name: evaluate