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

Function unhovered_style_updated

js/src/ScatterBase.ts:441–451  ·  view source on GitHub ↗
(model, style)

Source from the content-addressed store, hash-verified

439 }
440
441 unhovered_style_updated(model, style) {
442 this.unhovered_style = style;
443 const hov_indices = this.hovered_index;
444 const unhovered_indices = hov_indices
445 ? _.range(this.model.mark_data.length).filter((index) => {
446 return hov_indices.indexOf(index) === -1;
447 })
448 : [];
449 this.clear_style(model.previous('unhovered_style'), unhovered_indices);
450 this.style_updated(style, unhovered_indices);
451 }
452
453 draw_legend(elem, x_disp, y_disp, inter_x_disp, inter_y_disp) {
454 this.legend_el = elem

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…