[ANN] SankeyMakie.jl

Hey all,

Thanks to the help of @simonsteiger I’ve finally gotten SankeyMakie.jl over the registration threshold, it now has docs and is available in the General registry:

Its purpose is to make Sankey plots, which look like this:

Hope it’s useful, happy plotting!

54 Likes

I am unable to install SankeyMakie with the following error output
from the pkg> in the REPL:

(jl_hRgait) pkg> add SankeyMakie
Resolving package versions…
┌ Warning: failed to extract archive downloaded from https://pkg.julialang.org/package/1323c716-dab9-4207-0457-9cc5295a221b/bdac6713f0e6f7548754ccc7ae8535080914d72d
└ @ Pkg.Operations C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:642
ERROR: GitError(Code:ERROR, Class:Checkout, cannot checkout to invalid path ‘test/reference_tests/sankey forceorder = :reverse ref.png’)
Stacktrace:
[1] macro expansion
@ C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\LibGit2\src\error.jl:112 [inlined]
[2] checkout_tree(repo::LibGit2.GitRepo, obj::LibGit2.GitTree; options::LibGit2.CheckoutOptions)
@ LibGit2 C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\LibGit2\src\repository.jl:358
[3] checkout_tree
@ C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\LibGit2\src\repository.jl:354 [inlined]
[4] checkout_tree_to_path(repo::LibGit2.GitRepo, tree::LibGit2.GitTree, path::String)
@ Pkg.GitTools C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:88
[5] install_git(io::Base.TTY, uuid::Base.UUID, name::String, hash::Base.SHA1, urls::Set{String}, version_path::String)
@ Pkg.Operations C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:712
[6] download_source(ctx::Pkg.Types.Context; readonly::Bool)
@ Pkg.Operations C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:918
[7] download_source
@ C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:804 [inlined]
[8] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1404
[9] add
@ C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1390 [inlined]
[10] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::Base.TTY})
@ Pkg.API C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\API.jl:278
[11] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
@ Pkg.API C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
[12] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
[13] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:412
[14] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:390
[15] do_cmd
@ C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:380 [inlined]
[16] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\Pkg\src\REPLMode\REPLMode.jl:557
[17] #invokelatest#2
@ .\essentials.jl:892 [inlined]
[18] invokelatest
@ .\essentials.jl:889 [inlined]
[19] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\REPL\src\LineEdit.jl:2656
[20] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\REPL\src\REPL.jl:1312
[21] (::REPL.var"#62#68"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL C:\Software\julia\julia-1.10.9\share\julia\stdlib\v1.10\REPL\src\REPL.jl:386

This is on Windows 11, Julia 1.10.9

1 Like

@devel-chm please try updating, I just registered a version that should fix this bug

4 Likes

Working now with version 0.1.1
Thanks!

2 Likes