Hi,
I am wondering whether the following is a bug or an error in my installation. I use Plots.jl with the gr() backend and do the following MWE
julia> using Plots
julia> plot(rand(4,4))
then I close the QT window with the plot and try to plot again to observe
julia> plot(rand(4,4))
send: Broken pipe
After this, the REPL is practically useless for plotting.
If instead, I used the pyplot() backend, it works [until I change to gr()]
julia> using Plots
julia> pyplot()
Plots.PyPlotBackend()
julia> plot(rand(4,4)) #close window
julia> plot(rand(4,4)) #close window
julia> plot(rand(4,4)) #close window
julia> gr()
Plots.GRBackend()
julia> plot(rand(4,4)) #close window
julia> plot(rand(4,4))
send: Broken pipe
My installation (julia 1.2 and 1.3 on linux) is up-to-date for all I know:
[91a5bcdd] Plots v0.29.6
[d330b81b] PyPlot v2.8.2
[1fd47b50] QuadGK v2.3.1
Any idea what is going wrong? Especially since gr() is the default backend.
Cheers