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

Method set_positional_scales

js/src/Image.ts:68–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 set_positional_scales() {
69 const x_scale = this.scales.x,
70 y_scale = this.scales.y;
71 this.listenTo(x_scale, 'domain_changed', function () {
72 if (!this.model.dirty) {
73 this.draw();
74 }
75 });
76 this.listenTo(y_scale, 'domain_changed', function () {
77 if (!this.model.dirty) {
78 this.draw();
79 }
80 });
81 }
82
83 set_ranges() {
84 const x_scale = this.scales.x,

Callers

nothing calls this directly

Calls 1

drawMethod · 0.95

Tested by

no test coverage detected