using PyPlot 出错

不出图,并且有错误提示:
ERROR: ArgumentError: invalid gui none
Julia版本 1.5.1

using PyPlot
using PyCall
pygui(true)
x = 0:0.01*pi:10*pi
y = sin.(x)
plot(x,y)