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

Method set_ranges

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

Source from the content-addressed store, hash-verified

64 }
65
66 set_ranges() {
67 const xScale = this.scales.x;
68 if (xScale) {
69 xScale.setRange(this.parent.padded_range('x', xScale.model));
70 }
71
72 const yScale = this.scales.y;
73 if (yScale) {
74 yScale.setRange(this.parent.padded_range('y', yScale.model));
75 }
76 }
77
78 set_positional_scales() {
79 const x_scale = this.scales.x;

Callers 2

drawMethod · 0.95
relayoutMethod · 0.95

Calls 1

padded_rangeMethod · 0.80

Tested by

no test coverage detected