Skip to content

Commit

Permalink
fix fillrange of annotation series for groupedbar
Browse files Browse the repository at this point in the history
  • Loading branch information
daschw committed Jun 13, 2021
1 parent 99165a5 commit 0041189
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/recipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -497,27 +497,28 @@ end
# switch back
if !isvertical(plotattributes)
xseg, yseg = yseg, xseg
x, y = y, x
x, y = y, x
end

# reset orientation
orientation := default(:orientation)

# draw the bar shapes
@series begin
seriestype := :shape
series_annotations := nothing
primary := true
x := xseg.pts
y := yseg.pts
()
seriestype := :shape
series_annotations := nothing
primary := true
x := xseg.pts
y := yseg.pts
()
end

# add empty series
primary := false
seriestype := :scatter
markersize := 0
msrkeralpha := 0
markeralpha := 0
fillrange := nothing
x := x
y := y
()
Expand Down

0 comments on commit 0041189

Please sign in to comment.