diff --git a/Project.toml b/Project.toml index b4f5d16..126d19e 100644 --- a/Project.toml +++ b/Project.toml @@ -8,15 +8,13 @@ Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6" LayeredLayouts = "f4a74d36-062a-4d48-97cd-1356bad1de4e" MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5" Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" -RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" [compat] -Graphs = "1.5" -LayeredLayouts = "0.2.4" -MetaGraphs = "0.7" -Plots = "1, 2" -RecipesBase = "1" +Graphs = "1.10" +LayeredLayouts = "0.2.10" +MetaGraphs = "0.8" +Plots = "1.35" julia = "1" [extras] diff --git a/src/SankeyPlots.jl b/src/SankeyPlots.jl index 8b6e9bb..5e0e280 100644 --- a/src/SankeyPlots.jl +++ b/src/SankeyPlots.jl @@ -2,7 +2,6 @@ module SankeyPlots using LayeredLayouts using Plots -using RecipesBase using Graphs, MetaGraphs using SparseArrays @@ -37,8 +36,8 @@ In addition to [Plots.jl attributes](http://docs.juliaplots.org/latest/attribute label_position=:inside, label_size=8, compact=false, - force_layer::Vector{Pair{Int,Int}}=Vector{Pair{Int,Int}}(), - force_order::Vector{Pair{Int,Int}}=Vector{Pair{Int,Int}}(), + force_layer=Vector{Pair{Int,Int}}(), + force_order=Vector{Pair{Int,Int}}(), ) g = sankey_graph(s.args...) names = sankey_names(g, node_labels) diff --git a/test/refs/edge_color_#789.png b/test/refs/edge_color_#789.png index 781135c..85bc28f 100644 Binary files a/test/refs/edge_color_#789.png and b/test/refs/edge_color_#789.png differ diff --git a/test/refs/edge_color_dst.png b/test/refs/edge_color_dst.png index 269cd0d..0b83b97 100644 Binary files a/test/refs/edge_color_dst.png and b/test/refs/edge_color_dst.png differ diff --git a/test/refs/edge_color_manual.png b/test/refs/edge_color_manual.png index 21c1376..ba5176c 100644 Binary files a/test/refs/edge_color_manual.png and b/test/refs/edge_color_manual.png differ diff --git a/test/refs/edge_color_src.png b/test/refs/edge_color_src.png index 88d451b..b87e947 100644 Binary files a/test/refs/edge_color_src.png and b/test/refs/edge_color_src.png differ diff --git a/test/refs/force_layer.png b/test/refs/force_layer.png index 5697960..ca4acaf 100644 Binary files a/test/refs/force_layer.png and b/test/refs/force_layer.png differ diff --git a/test/refs/force_order.png b/test/refs/force_order.png index bf718ee..7976576 100644 Binary files a/test/refs/force_order.png and b/test/refs/force_order.png differ diff --git a/test/refs/label_position_bottom.png b/test/refs/label_position_bottom.png index c6fba9d..1ed1a75 100644 Binary files a/test/refs/label_position_bottom.png and b/test/refs/label_position_bottom.png differ diff --git a/test/refs/label_position_left.png b/test/refs/label_position_left.png index 7f93cf2..b7e600e 100644 Binary files a/test/refs/label_position_left.png and b/test/refs/label_position_left.png differ diff --git a/test/refs/label_position_node.png b/test/refs/label_position_node.png index 1d93254..0dc6f8f 100644 Binary files a/test/refs/label_position_node.png and b/test/refs/label_position_node.png differ diff --git a/test/refs/label_position_right.png b/test/refs/label_position_right.png index aa7b4c8..0fbb450 100644 Binary files a/test/refs/label_position_right.png and b/test/refs/label_position_right.png differ diff --git a/test/refs/label_position_top.png b/test/refs/label_position_top.png index bed7a2e..8650ac5 100644 Binary files a/test/refs/label_position_top.png and b/test/refs/label_position_top.png differ diff --git a/test/refs/readme.png b/test/refs/readme.png index 4247766..c0fb9cf 100644 Binary files a/test/refs/readme.png and b/test/refs/readme.png differ diff --git a/test/refs/readme_kwargs.png b/test/refs/readme_kwargs.png index ecae6ee..afa9dff 100644 Binary files a/test/refs/readme_kwargs.png and b/test/refs/readme_kwargs.png differ