You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# nodes size proportional to their degree
nodesize = [LightGraphs.out_degree(g, v) for v in LightGraphs.vertices(g)]
gplot(g, nodesize=nodesize)
which in my installation returns
UndefVarError: out_degree not defined
Stacktrace:
[1] (::getfield(Main, Symbol("##19#20")))(::Int64) at ./none:0
[2] iterate at ./generator.jl:47 [inlined]
[3] collect(::Base.Generator{Base.OneTo{Int64},getfield(Main, Symbol("##19#20"))}) at ./array.jl:619
[4] top-level scope at In[91]:1
Changing "out_degree" by "outdegree" fixed the issue for me.
The text was updated successfully, but these errors were encountered:
In the tutorial says
which in my installation returns
Changing "out_degree" by "outdegree" fixed the issue for me.
The text was updated successfully, but these errors were encountered: