0cb34cc6edb3bf4f0848de96c3719da02128f7e9,bokeh/charts/glyphs.py,BoxGlyph,build_source,#BoxGlyph#,251
Before Change
w0_y = [self.w0]
w1_y = [self.w1]
return ColumnDataSource(dict(w_x0=w_x0, w_x1=w_x1, x_label=x_label, w0_y=w0_y, w1_y=w1_y,
w0_span_y0=[self.w0], w0_span_y1=[self.q1], w1_span_y0=[self.q3], w1_span_y1=[self.w1]))
def _set_sources(self):
for renderer in self.segments:
renderer.data_source = self.source
After Change
def build_source(self):
self.calc_quartiles()
x_label = self.get_dodge_label()
x_w0_label = self.get_dodge_label(shift=(self.whisker_width / 2.0))
x_w1_label = self.get_dodge_label(shift=-(self.whisker_width / 2.0))
// span0, whisker bar0, span1, whisker bar1
x0s = [x_label, x_w0_label, x_label, x_w0_label]
y0s = [self.w0, self.w0, self.q3, self.w1]
x1s = [x_label, x_w1_label, x_label, x_w1_label]
y1s = [self.q1, self.w0, self.w1, self.w1]
return ColumnDataSource(dict(x0s=x0s, y0s=y0s, x1s=x1s, y1s=y1s))
def _set_sources(self):
self.whisker_glyph.data_source = self.source
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: bokeh/bokeh
Commit Name: 0cb34cc6edb3bf4f0848de96c3719da02128f7e9
Time: 2015-09-05
Author: nroth@dealnews.com
File Name: bokeh/charts/glyphs.py
Class Name: BoxGlyph
Method Name: build_source
Project Name: bokeh/bokeh
Commit Name: 0cb34cc6edb3bf4f0848de96c3719da02128f7e9
Time: 2015-09-05
Author: nroth@dealnews.com
File Name: bokeh/charts/glyphs.py
Class Name: ScatterGlyph
Method Name: build_source
Project Name: bokeh/bokeh
Commit Name: acd97e3a8cdb11c18716b6e5588c84cae8bcd80a
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/tap.py
Class Name:
Method Name:
Project Name: bokeh/bokeh
Commit Name: bdc6be22e5941d895c214ef88f9b03df8f592d61
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/hover.py
Class Name:
Method Name: