Skip to content

ratio="autot" fails to correctly generate the initial ratio #1795

@chaosphere2112

Description

@chaosphere2112

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions