Skip to content

Commit

Permalink
fix :legend option with legend_position
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-f committed Oct 29, 2024
1 parent 4dc6ca0 commit 39a5606
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/SankeyPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ In addition to [Plots.jl attributes](http://docs.juliaplots.org/latest/attribute

primary := false
framestyle --> :none
legend --> label_position === :legend ? :outertopright : false
legend --> label_position === :legend ? true : false
if label_position === :legend
legend_position --> :outertopright
end
()
end

Expand Down
Binary file modified test/refs/label_position_legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39a5606

Please sign in to comment.