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

Method set_ranges

js/src/Graph.ts:97–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 set_ranges() {
98 if (this.scales.x) {
99 this.scales.x.setRange(
100 this.parent.padded_range('x', this.scales.x.model)
101 );
102 }
103 if (this.scales.y) {
104 this.scales.y.setRange(
105 this.parent.padded_range('y', this.scales.y.model)
106 );
107 }
108 }
109
110 set_positional_scales() {
111 this.listenTo(

Callers 2

updatePositionMethod · 0.95
drawMethod · 0.95

Calls 1

padded_rangeMethod · 0.80

Tested by

no test coverage detected