95c2a29c7f1992f78d11acfe9cdfee83a7516af2,ggplot/geoms/geom_smooth.py,geom_smooth,draw_group,#Any#Any#Any#Any#,23

Before Change


    def draw_group(pinfo, panel_scales, coord, ax, **params):
        has_ribbon = (pinfo["ymin"][0] is not None and
                      pinfo["ymax"][0] is not None)
        if has_ribbon:
            pinfo2 = deepcopy(pinfo)
            pinfo2["color"] = ""
            geom_ribbon.draw_group(pinfo2, panel_scales,
                                   coord, ax, **params)

        pinfo["alpha"] = 1
        geom_line.draw_group(pinfo, panel_scales, coord, ax, **params)

    @staticmethod

After Change


        units = ["color", "fill", "linetype", "size"]
        for _, udata in groupby_with_null(data, units):
            udata.is_copy = None
            udata.reset_index(inplace=True, drop=True)
            geom_smooth.draw_unit(udata, panel_scales, coord,
                                  ax, **params)

    @staticmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: has2k1/plotnine
Commit Name: 95c2a29c7f1992f78d11acfe9cdfee83a7516af2
Time: 2016-03-16
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_smooth.py
Class Name: geom_smooth
Method Name: draw_group


Project Name: has2k1/plotnine
Commit Name: cacce80b57b57c17bc7e8ef06e991772352ed352
Time: 2015-12-22
Author: has2k1@gmail.com
File Name: ggplot/facets/layouts.py
Class Name:
Method Name: layout_grid


Project Name: soft-matter/trackpy
Commit Name: 8590a6d8b4f21ed1fdc33183435334fb202ae1ee
Time: 2016-02-03
Author: zoeith@gmail.com
File Name: trackpy/motion.py
Class Name:
Method Name: compute_drift


Project Name: has2k1/plotnine
Commit Name: 95c2a29c7f1992f78d11acfe9cdfee83a7516af2
Time: 2016-03-16
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_ribbon.py
Class Name: geom_ribbon
Method Name: draw_group