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

Method color_scale_updated

js/src/Label.ts:140–150  ·  view source on GitHub ↗
(animate)

Source from the content-addressed store, hash-verified

138 }
139
140 color_scale_updated(animate) {
141 const animation_duration =
142 animate === true ? this.parent.model.get('animation_duration') : 0;
143
144 this.d3el
145 .selectAll('.object_grp')
146 .select('text')
147 .transition('color_scale_updated')
148 .duration(animation_duration)
149 .style('fill', this.get_mark_color.bind(this));
150 }
151
152 set_default_style(indices) {
153 // For all the elements with index in the list indices, the default

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected