MCPcopy Create free account
hub / github.com/bqplot/bqplot / set_ranges

Method set_ranges

js/src/Lines.ts:56–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 set_ranges(): void {
57 const xScale = this.scales.x;
58 if (xScale) {
59 xScale.setRange(this.parent.padded_range('x', xScale.model));
60 }
61 const yScale = this.scales.y;
62 if (yScale) {
63 yScale.setRange(this.parent.padded_range('y', yScale.model));
64 }
65 }
66
67 set_positional_scales(): void {
68 const xScale = this.scales.x,

Callers 2

relayoutMethod · 0.95
drawMethod · 0.95

Calls 1

padded_rangeMethod · 0.80

Tested by

no test coverage detected