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

Method set_positional_scales

js/src/HeatMap.ts:61–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 set_positional_scales() {
62 this.listenTo(this.scales.x, 'domain_changed', () => {
63 if (!this.model.dirty) {
64 this.draw();
65 }
66 });
67 this.listenTo(this.scales.y, 'domain_changed', () => {
68 if (!this.model.dirty) {
69 this.draw();
70 }
71 });
72 }
73
74 initialize_additional_scales() {
75 if (this.scales.color) {

Callers

nothing calls this directly

Calls 1

drawMethod · 0.95

Tested by

no test coverage detected