maybe interactive mode is off somehow ...
does a call to
ion()
help ... ?
On Wednesday, January 20, 2016 at 12:05:51 AM UTC-8, Daniel Carrera wrote:
>
> Hello,
>
> Here is an odd problem. If I put in "using PyPlot" inside my ~/.juliarc.jl
> file, when I start the Julia shell I cannot get any plots. There is no
> error message, just no plot:
>
> $ julia
> ...
> julia> x = linspace(0,2pi);
> julia> y = sin(x);
> julia> plot(x,y)
> 1-element Array{Any,1}:
> PyObject <matplotlib.lines.Line2D object at 0x7fa60a2ed610>
>
>
> But if I remove PyPlot from ~/.juliarc.jl and insert it manually in the
> Julia shell, everything works great. Does anyone know what's happening?
>
> Cheers,
> Daniel.
>