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

Method update_plotarea_dimensions

js/src/MarketMap.ts:157–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 update_plotarea_dimensions() {
158 const plotarea_width = this.plotareaWidth;
159 const plotarea_height = this.plotareaHeight;
160 this.column_width = parseFloat((plotarea_width / this.num_cols).toFixed(2));
161 this.row_height = parseFloat((plotarea_height / this.num_rows).toFixed(2));
162 }
163
164 reset_drawing_controls() {
165 // Properties useful in drawing the map

Callers 3

renderImplMethod · 0.95
relayoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected