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

Method reset

js/src/BrushSelector.ts:689–697  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

687 }
688
689 reset() {
690 this.d3el.selectAll('.selector').remove();
691 this.model.set('_selected', {});
692 this.curr_index = 0;
693 this.brushes = [];
694 this.brush_g = [];
695 this.touch();
696 this.create_brush();
697 }
698
699 convert_and_save(extent, item) {
700 if (!extent) {

Callers

nothing calls this directly

Calls 2

create_brushMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected