Error when using PyPlot for the first time

I was trying to get acquainted with julia’s PyPlot library. I tried

using PyPlot;
imshow(rand(30, 30));

but I get the following error message

error in background error handler:
out of stack space (infinite loop?)
    while executing
"::tcl::Bgerror {out of stack space (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {out of stack space (infinite loop?)
    while execu..."
error in background error handler:
out of stack space (infinite loop?)
    while executing
"::tcl::Bgerror {out of stack space (infinite loop?)} {-code 1 -level 0 -errorcode NONE -errorinfo {out of stack space (infinite loop?)
    while execu..."

The message also happens to repeat again and again and the execution thread cannot be broken.

Could you tell me what is going wrong ?

1 Like