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

Method initialize_additional_scales

js/src/Map.ts:59–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 }
58
59 initialize_additional_scales() {
60 const color_scale = this.scales.color;
61 if (color_scale) {
62 this.listenTo(color_scale, 'domain_changed', () => {
63 this.update_style();
64 });
65 color_scale.on('color_scale_range_changed', this.update_style, this);
66 }
67 }
68
69 remove_map() {
70 d3.selectAll('.world_map.map' + this.map_id).remove();

Callers 1

set_scale_viewsFunction · 0.45

Calls 1

update_styleMethod · 0.95

Tested by

no test coverage detected