Hi @ufechner7,
When I implemented the inspectdr() backend to Plots.jl, I was interpreting things a bit different
- I assumed
size=(1200,700)would affect only sizes of exported images (svg/png/…).
Also:
As a general philosophy, the InspectDR package does not control the window size programmatically when you specify “plot size”. Instead, it assumes:
- users will want to be in control window size.
- InspectDR just has to make things fit according to the end-user’s wishes.
- and, just to repeat: “plot size” is assumed to affect size of exported images.
GTK resize!() interface
That said: InspectDR is based on GTK, and so you can resize the window using GTK:
using Plots; inspectdr()
x=0:0.05:100
y1=sin.(x)
p1 = plot(x,y1, legend=false)
pIDR=display(p1); #Display with InspectDR and keep plot object
resize!(pIDR.wnd, 1200, 700) #Resize GTK window directly
I hope this doesn’t feel to inelegant as a solution.