fix pgfx_fillrange_series

This commit is contained in:
Simon Christ
2019-11-29 11:47:45 +01:00
parent 57db8095c4
commit 424b98e1a1
+4 -4
View File
@@ -256,14 +256,14 @@ function pgfx_fillrange_series(series, i, fillrange, args...)
opt = PGFPlotsX.Options()
push!(opt, "line width" => 0)
push!(opt, "draw opacity" => 0)
push!(opt, pgfx_fillopt(series, i))
push!(opt, pgfx_marker(series, i))
opt = merge(opt, pgfx_fillstyle(series, i))
opt = merge(opt, pgfx_marker(series, i))
push!(opt, "forget plot" => nothing)
if haskey(_pgfx_series_extraopt, st)
if haskey(_pgfx_series_extrastyle, st)
push!(opt, _pgfx_series_extrastyle[st] => nothing)
end
func = is3d(series) ? PGFPlotsX.Plot3 : PGFPlotsX.Plot
return func(opt, pgfx_fillrange_args(fillrange, args...)...)
return func(opt, PGFPlotsX.Coordinates(pgfx_fillrange_args(fillrange, args...)...))
end
function pgfx_fillrange_args(fillrange, x, y)