From 9eac6a1db00b66fa03c254107e61eccc32f42f1b Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Tue, 26 Sep 2017 17:40:54 +0200 Subject: [PATCH] fix fillalpha --- src/backends/gr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/gr.jl b/src/backends/gr.jl index e2054a90..09fb7270 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -942,7 +942,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas) gr_set_fillcolor(get_fillcolor(sp, series, i)) xseg = _cycle(x, [i, i+1, i+1, i]) yseg = [_cycle(fr_from, [i, i+1]); _cycle(fr_to, [i+1, i])] - GR.settransparency(series[:fillalpha]) + series[:fillalpha] != nothing && GR.settransparency(series[:fillalpha]) GR.fillarea(xseg, yseg) end gr_set_line(1, :solid, yaxis[:foreground_color_axis])