Merge pull request #1035 from piever/errorbar

don't draw fill for 1D markers in gr
This commit is contained in:
Michael Krabbe Borregaard 2017-08-23 10:35:42 +02:00 committed by GitHub
commit eb0dbac0c1

View File

@ -326,7 +326,10 @@ function gr_draw_markers(series::Series, x, y, msize, mz)
cfuncind(ci) cfuncind(ci)
GR.settransparency(_gr_gradient_alpha[ci-999]) GR.settransparency(_gr_gradient_alpha[ci-999])
end end
gr_draw_marker(x[i], y[i], msi, shape) # don't draw filled area if marker shape is 1D
if !(shape in (:hline, :vline, :+, :x, :cross, :xcross))
gr_draw_marker(x[i], y[i], msi, shape)
end
end end
end end
end end