try to using plotting in REPL on ubuntu, however it cannot display.
running same code in jupyter notebook without problems.
julia> versioninfo()
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Celeron(R) CPU G3930 @ 2.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
shell> uname -a
Linux w1b1 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
julia> backend()
Plots.GRBackend()
julia> Plots.plot(pic, yflip = true) #upside down
QXcbConnection: Failed to initialize XRandr
Qt: XKEYBOARD extension not present on the X server.
julia> libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server “localhost:10.0”
after 219 requests (215 known processed) with 0 events remaining.
julia>