ded044ebee429e8e1b8dbd7e581bfb9634be7354,bokeh/charts/builder/line_builder.py,LineBuilder,_yield_renderers,#LineBuilder#,130

Before Change


        colors = cycle_colors(self._attr, self.palette)
        for i, duplet in enumerate(self._attr[1:], start=1):
            glyph = LineGlyph(x="x", y=duplet, line_color=colors[i - 1])
            renderer = GlyphRenderer(data_source=self._source, glyph=glyph)
            self.legends.append((self._groups[i-1], [renderer]))
            yield renderer

After Change


                              y=group.get_values(self.y.selection),
                              line_color=group["color"],
                              dash=group["dash"])
            renderer = glyph.renderers[0]
            self._legends.append((str(group.label), [renderer]))

            yield renderer
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: bokeh/bokeh
Commit Name: ded044ebee429e8e1b8dbd7e581bfb9634be7354
Time: 2015-09-08
Author: nroth@dealnews.com
File Name: bokeh/charts/builder/line_builder.py
Class Name: LineBuilder
Method Name: _yield_renderers


Project Name: bokeh/bokeh
Commit Name: 0142f985c54845a0f6be9fa19262cdf1661981ce
Time: 2015-09-05
Author: nroth@dealnews.com
File Name: bokeh/charts/builder/scatter_builder.py
Class Name: ScatterBuilder
Method Name: _yield_renderers


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