MCPcopy Index your code
hub / github.com/bqplot/bqplot / updateOpacities

Method updateOpacities

js/src/Boxplot.ts:141–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139 }
140
141 private updateOpacities() {
142 this.d3el
143 .selectAll('.boxplot')
144 .style('opacity', (d, i: number) => this.get_mark_opacity(d, i));
145
146 if (this.legendEl) {
147 this.legendEl
148 .selectAll('path')
149 .attr('opacity', (d, i: number) => this.get_mark_opacity(d, i));
150 }
151 }
152
153 private getBoxWidth() {
154 let width = this.model.get('box_width');

Callers 1

set_default_styleMethod · 0.95

Calls 1

get_mark_opacityMethod · 0.80

Tested by

no test coverage detected