Makie.jl
Makie.jl copied to clipboard
WGLMakie Resize Feature
I was wondering if it would be possible to auto-resize a WGLMakie figure? For example, when the figure is displayed in a VSCode Plot Pane window, would it be possible to:
- Fill the plot pane window based on the window initial size
- Auto-resize the figure based on a change to the plot pane size?
Basically, I'm looking for similar functionality as the PlotlyJS.jl package, which fills and resizes based on the Blink window or the VSCode Plot Pane size.
Hi,
PlotlyJS.jl package, which fills and resizes based on the Blink window or the VSCode Plot Pane size.
Does not work for me.
using Plots
plotlyjs()
display(plot(sign.(randn(100, 4)), layout = (4, 1), link =:x))
Can you show a basic example?
Thanks a lot @bradcarman ! Another reason to convert to Makie. Feels low-level with lots of controls. I am writing a linked subplots function. Not that difficult. The examples from the doc are clumsy at times. Need more convenience routines or a Plots.jl integration. Are you aware of a collection of Makie receipes where one could contribute?
But now back to have the resize in Makie!
Looking for this as well. Any hints?
I'd also like a way to make the plot fullscreen in my browser. I tried playing around with JSServe.jl and exporting the plot to a html file, but didn't see any obvious to change the dimensions.
This is somehow more difficult than it should be! But it's definitely on the wish list!
