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

Method set_positional_scales

js/src/Boxplot.ts:78–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 set_positional_scales() {
79 const x_scale = this.scales.x;
80 this.listenTo(x_scale, 'domain_changed', function () {
81 if (!this.model.dirty) {
82 this.draw();
83 }
84 });
85
86 const y_scale = this.scales.y;
87 this.listenTo(y_scale, 'domain_changed', function () {
88 if (!this.model.dirty) {
89 this.draw();
90 }
91 });
92 }
93
94 create_listeners() {
95 super.create_listeners.apply(this);

Callers

nothing calls this directly

Calls 1

drawMethod · 0.95

Tested by

no test coverage detected