Skip to content

You must be logged in to vote

For slides or similar, you can specify both the height and the width (fixed). The auto layout currently automatically adjusts the width based on a fixed height, and you can also adjust the initial height for this.

val linePlot = Plot.line[x = #[1, 2, 3] y = #[1, 5, 4]].layout[height = 789 width = 456]

If you only set height, the width is still adjusted variably.

Replies: 1 comment

You must be logged in to vote
0 replies
Answer selected by iils-mriestenpattgenrichter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant