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

Function update_xscale_domain

js/src/Selector.ts:183–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 update_xscale_domain() {
184 // When the domain of the scale is updated, the domain of the scale
185 // for the selector must be expanded to account for the padding.
186 const initial_range = this.parent.padded_range('x', this.x_scale.model);
187 const target_range = this.parent.range('x');
188 this.x_scale.expandDomain(initial_range, target_range);
189 }
190
191 update_yscale_domain() {
192 // When the domain of the scale is updated, the domain of the scale

Callers

nothing calls this directly

Calls 2

padded_rangeMethod · 0.80
rangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…