If you plot something with ratio="autot" as the very first action you take with a canvas, the plot defaults to using the default window size, rather than the size that the canvas will actually have. This is because the call to determine the ratio happens prior to any calls to createRenWin() in the backend, so default values are retrieved using the canvasinfo() function.
Any future plots (or ones triggered by canvas.update()) will be the correct proportions.
If you plot something with
ratio="autot"as the very first action you take with a canvas, the plot defaults to using the default window size, rather than the size that the canvas will actually have. This is because the call to determine the ratio happens prior to any calls tocreateRenWin()in the backend, so default values are retrieved using thecanvasinfo()function.Any future plots (or ones triggered by
canvas.update()) will be the correct proportions.