Function: canvasFor()
canvasFor(
width,height,ratio): [number,number]
Defined in: packages/sdvplot/src/export/index.ts:119
Port of Python _canvas: expand the short side until the ratio is met; never shrink. Rounds half to even (Python/R round).
Parameters
width
number
height
number
ratio
number
Returns
[number, number]