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

Method range

js/src/Figure.ts:674–680  ·  view source on GitHub ↗
(direction: 'x' | 'y')

Source from the content-addressed store, hash-verified

672 }
673
674 range(direction: 'x' | 'y'): [number, number] {
675 if (direction === 'x') {
676 return [0, this.plotareaWidth];
677 } else if (direction === 'y') {
678 return [this.plotareaHeight, 0];
679 }
680 }
681
682 async updateDecorators(print = false) {
683 if (this.autoLayout) {

Callers 15

padded_rangeMethod · 0.95
defaultsMethod · 0.80
update_unique_idsMethod · 0.80
handleClickMethod · 0.80
apply_stylesMethod · 0.80
selector_changedMethod · 0.80
drawMethod · 0.80
getTilePlottingDataMethod · 0.80
update_scale_domainMethod · 0.80
update_axis_domainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected