Intllij IDAE 2019.2.3 x64 JuliaSciView中 不显示图像, VarInfo (Workspace) 数据不显示


#1

julia> use_intellij_backend() using PyCall and @pyimport matplotlib, please wait about 6 ~ 10 seconds... ┌ Warning:@pyimport foois deprecated in favor offoo = pyimport(“foo”). │ caller = _pywrap_pyimport(::PyObject) at PyCall.jl:407 └ @ PyCall C:\Users\419-1\.julia\packages\PyCall\ttONZ\src\PyCall.jl:407 ┌ Warning:getindex(o::PyObject, s::AbstractString)is deprecated in favor of dot overloading (getproperty) so elements should now be accessed as e.g.o."s"instead ofo[“s”]`.
│ caller = top-level scope at none:1
└ @ Core none:1
set plot outputs redirect to intellij.

julia> using PyCall

julia> plt = pyimport(“matplotlib.pyplot”)

PyObject <module ‘matplotlib.pyplot’ from ‘C:\Users\419-1\.julia\conda\3\lib\site-packages\matplotlib\pyplot.py’>

julia> x = [1, 3, 4]

3-element Array{Int64,1}:
1
3
4

julia> y = [3,4,5]

3-element Array{Int64,1}:
3
4
5

julia> plt.plot(x,y)

1-element Array{PyObject,1}:
PyObject <matplotlib.lines.Line2D object at 0x0000000034AF1B00>
julia> plt.show()

julia> a=[1,2,3]
3-element Array{Int64,1}:
1
2
3`