did you start gksqt code example
Example: gks not in proper state
sudo apt-get install qt5-default
GR#master #fix currently in master
ENV["GRDIR"]=""; ] build GR #to install the latest GR run-time?
#or Switch to a different backend #testing on 1.4.0
ENV["PYTHON"]=""
Pkg.build("PyCall")
#take not of using correct plot when testing
julia> plot(rand(1:10, 4, 2))
send: Broken pipe
julia> PyPlot.plot(rand(1:10, 4, 2))