MCPcopy Create free account
hub / github.com/bqplot/bqplot / initialize_additional_scales

Method initialize_additional_scales

js/src/Lines.ts:82–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 initialize_additional_scales(): void {
83 const colorScale = this.scales.color;
84 if (colorScale) {
85 this.listenTo(colorScale, 'domain_changed', function () {
86 this.update_style();
87 });
88 colorScale.on('color_scale_range_changed', this.update_style, this);
89 }
90 }
91
92 create_listeners(): void {
93 super.create_listeners();

Callers

nothing calls this directly

Calls 1

update_styleMethod · 0.95

Tested by

no test coverage detected