Closed ufechner7 closed 1 year ago
Hello! For now you must do
p = figure(; sizing_mode="stretch_both")
to have the figure automatically stretch to fit the window.
It would be nice to do this automatically, but the natural way to implement this is via themes, but I don't have themes yet.
Hello again. It turns out I had already implemented most of the theming functionality, which I have now tidied up and released. Long story short, your plots should now automatically stretch to fill the window when you resize it (you can still override this behaviour with the sizing_mode
argument from my previous reply.)
I have the following code:
A window pops up showing a sinus function. Nice!
But if I resize the window, the size of the plot stays the same. That is very inconvenient.