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

Function unselected_style_updated

js/src/Mark.ts:270–280  ·  view source on GitHub ↗
(model, style)

Source from the content-addressed store, hash-verified

268 }
269
270 unselected_style_updated(model, style) {
271 this.unselected_style = style;
272 const sel_indices = this.selected_indices;
273 const unselected_indices = sel_indices
274 ? _.range(this.model.mark_data.length).filter((index) => {
275 return sel_indices.indexOf(index) === -1;
276 })
277 : [];
278 this.clear_style(model.previous('unselected_style'), unselected_indices);
279 this.style_updated(style, unselected_indices);
280 }
281
282 style_updated(new_style, indices, elements?) {
283 // reset the style of the elements and apply the new style

Callers

nothing calls this directly

Calls 3

rangeMethod · 0.80
clear_styleMethod · 0.45
style_updatedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…