In the meantime I could reproduce the problem on Ubuntu 20.04. The point is, that due to the plugin setting (QT_QPA_PLATFORM
) the GKS QtTerm
socket is never closed.
If you want to produce the PNGs only, then it’s much easier to use the following script:
using Plots
using Printf
ENV["GKSwstype"] = "100"
gr()
for i = 1:2000
scatter(rand(5), rand(5))
fn = @sprintf("hepp-%4.4i.png", i)
println(i)
png(fn)
end