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

Method unregister_all_scales

js/src/MarkModel.ts:83–91  ·  view source on GitHub ↗
(scales)

Source from the content-addressed store, hash-verified

81 }
82
83 unregister_all_scales(scales) {
84 // disassociates the mark with the scale
85 this.dirty = true;
86 for (const key in scales) {
87 scales[key].delDomain([], this.model_id + '_' + key);
88 }
89 this.dirty = false;
90 //TODO: Check if the views are being removed
91 }
92
93 handle_destroy() {
94 this.unregister_all_scales(this.getScales());

Callers 2

update_scalesMethod · 0.95
handle_destroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected