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

Method set_ranges

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

Source from the content-addressed store, hash-verified

64 }
65
66 set_ranges() {
67 if (this.scales.row) {
68 this.scales.row.setRange(
69 this.parent.padded_range('y', this.scales.row.model)
70 );
71 }
72
73 if (this.scales.column) {
74 this.scales.column.setRange(
75 this.parent.padded_range('x', this.scales.column.model)
76 );
77 }
78 }
79
80 set_positional_scales() {
81 this.listenTo(this.scales.column, 'domain_changed', () => {

Callers 2

relayoutMethod · 0.95
drawMethod · 0.95

Calls 1

padded_rangeMethod · 0.80

Tested by

no test coverage detected