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

Method get_label

js/src/BrushSelector.ts:642–649  ·  view source on GitHub ↗
(index, arr?)

Source from the content-addressed store, hash-verified

640 }
641
642 get_label(index, arr?) {
643 //arr is optional. If you do not pass anything, this.names is
644 //considered arr.
645 if (arr === undefined || arr === null) {
646 arr = this.names;
647 }
648 return arr.length > index ? arr[index] : index;
649 }
650
651 multi_brush_move(item) {
652 if (this.ignoreBrushEvents) {

Callers 4

labels_changeMethod · 0.95
create_brushMethod · 0.95
convert_and_saveMethod · 0.95
syncModelToBrushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected