cc870b340c638369a12c20e4820a8ef87137381b,bokeh/charts/builder/bar_builder.py,BarBuilder,_yield_renderers,#BarBuilder#,256

Before Change


            if self.attributes["stack"].columns is not None:
                label = str(group["stack"])
                if label not in labels:
                    self._legends.append((str(self._get_label(group["stack"])), bg.renderers))
                    labels.append(label)

            stacker.add_renderer(bg)

        renderers = stacker.apply()

After Change


            //
            //     stacker.add_renderer(bg)

        stacker.apply(renderers)
        grouper.apply(renderers)

        // a higher level function of bar chart is to keep track of max height of all bars
        self.max_height = max([renderer.ymax for renderer in renderers])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: cc870b340c638369a12c20e4820a8ef87137381b
Time: 2015-08-30
Author: nroth@dealnews.com
File Name: bokeh/charts/builder/bar_builder.py
Class Name: BarBuilder
Method Name: _yield_renderers


Project Name: AlexsLemonade/refinebio
Commit Name: 12b19fcbf91e9d02bd8b2a67ce96e2d00d1d5ed7
Time: 2019-10-01
Author: arielsvn@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/check_computed_files.py
Class Name: Command
Method Name: handle


Project Name: bokeh/bokeh
Commit Name: cc870b340c638369a12c20e4820a8ef87137381b
Time: 2015-08-30
Author: nroth@dealnews.com
File Name: bokeh/charts/builder/bar_builder.py
Class Name: BarBuilder
Method Name: _yield_renderers


Project Name: etal/cnvkit
Commit Name: ec576f6724639d899e39664558c2cf0ddd052449
Time: 2015-11-18
Author: eric.talevich@gmail.com
File Name: cnvlib/export.py
Class Name:
Method Name: fmt_cdt