95c2a29c7f1992f78d11acfe9cdfee83a7516af2,ggplot/geoms/geom.py,geom,draw_panel,#geom#Any#Any#Any#Any#,139

Before Change


        
        data = coord.transform(data, panel_scales, self._munch)
        for _, gdata in data.groupby("group"):
            pinfos = self._make_pinfos(gdata, params)
            for pinfo in pinfos:
                self.draw_group(pinfo, panel_scales, coord, ax, **params)

    @staticmethod
    def draw_group(pinfo, panel_scales, coord, ax, **params):
        msg = "The geom should implement this method."
        raise NotImplementedError(msg)

After Change


        
        data = coord.transform(data, panel_scales, self._munch)
        for _, gdata in data.groupby("group"):
            gdata.reset_index(inplace=True, drop=True)
            gdata.is_copy = None
            self.draw_group(gdata, panel_scales, coord, ax, **params)

    @staticmethod
    def draw_group(data, panel_scales, coord, ax, **params):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


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


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


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


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


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