Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
🐛 fix the orientation of the labels in tri legend
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Oct 15, 2021
1 parent 316f299 commit 3ae9323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/recipes/recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,10 @@ test 2
end
end
end
_fs = get(plotattributes, :annotationfontsize, 14)
@series begin
seriestype := :shape
annotations := [(0.0, -0.05, red, :center), (1.0, -0.05, green, :center), (0.5, sqrt(3)/2+0.05, blue, :center)]
annotations := [(-0.05, 0.0, (red, _fs, :left, 60.0)), (1.0, -0.05, (green, _fs, :right, 0.0)), (0.5+0.05, sqrt(3)/2, (blue, _fs, :left, -60.0))]
markersize := 0
seriescolor := hcat(shapes_colors...)
shapes_x, shapes_y
Expand Down

0 comments on commit 3ae9323

Please # to comment.