We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method = :spring
I get this error on a simple directed path graph:
julia> using GraphRecipes, Plots julia> using LightGraphs julia> g=path_digraph(5) {5, 4} directed simple Int64 graph julia> graphplot(g, method=:spring) ERROR: MethodError: no method matching layout(::Matrix{Float64}, ::Type{GeometryTypes.Point{2, Float32}}; iterations=100, initialtemp=2.0, C=2.0, startpositions=GeometryTypes.Point2{Float64}[[0.6558464547482461, 0.8047312354051321], [0.6069272089451987, 0.5504264545987039], [0.4616884745315648, 0.3193173768094204], [0.6588521143170496, 0.4280869040887578], [0.7310016427121522, 0.06082842243748776]]) Closest candidates are: layout(::Any) at C:\Users\UB01382\.julia\packages\NetworkLayout\H4APB\src\spring.jl:38 got unsupported keyword arguments "iterations", "initialtemp", "C", "startpositions" layout(::Any, ::Int64; kw_args...) at C:\Users\UB01382\.julia\packages\NetworkLayout\H4APB\src\spring.jl:36 layout(::Any, ::Type{GeometryBasics.Point{N, T}}; startpositions, kw_args...) where {N, T} at C:\Users\UB01382\.julia\packages\NetworkLayout\H4APB\src\spring.jl:38 Stacktrace: [1] spring_graph(adjmat::Matrix{Float64}; dim::Int64, x::Vector{Float64}, y::Vector{Float64}, z::Vector{Float64}, maxiter::Int64, initialtemp::Float64, C::Float64, kw::Base.Iterators.Pairs{Symbol, Any, Tuple{Symbol, Symbol, Symbol}, NamedTuple{(:node_weights, :free_dims, :root), Tuple{Vector{Float64}, Vector{Int64}, Symbol}}}) @ GraphRecipes C:\Users\UB01382\.julia\packages\GraphRecipes\5fwQZ\src\graph_layouts.jl:34 [2] macro expansion @ C:\Users\UB01382\.julia\packages\GraphRecipes\5fwQZ\src\graphs.jl:411 [inlined] [3] apply_recipe(plotattributes::AbstractDict{Symbol, Any}, g::GraphRecipes.GraphPlot) @ GraphRecipes C:\Users\UB01382\.julia\packages\RecipesBase\92zOw\src\RecipesBase.jl:282 [4] _process_userrecipes!(plt::Any, plotattributes::Any, args::Any) @ RecipesPipeline C:\Users\UB01382\.julia\packages\RecipesPipeline\BY2Dd\src\user_recipe.jl:36 [5] recipe_pipeline!(plt::Any, plotattributes::Any, args::Any) @ RecipesPipeline C:\Users\UB01382\.julia\packages\RecipesPipeline\BY2Dd\src\RecipesPipeline.jl:70 [6] _plot!(plt::Plots.Plot, plotattributes::Any, args::Any) @ Plots C:\Users\UB01382\.julia\packages\Plots\ldLtW\src\plot.jl:206 [7] plot(args::Any; kw::Any) @ Plots C:\Users\UB01382\.julia\packages\Plots\ldLtW\src\plot.jl:89 [8] #graphplot#82 @ C:\Users\UB01382\.julia\packages\RecipesBase\92zOw\src\RecipesBase.jl:357 [inlined] [9] top-level scope @ REPL[24]:1
Julia v1.6.1 Plots v1.18.2 GraphRecipes v0.5.6
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get this error on a simple directed path graph:
Julia v1.6.1
Plots v1.18.2
GraphRecipes v0.5.6
The text was updated successfully, but these errors were encountered: