From 3b7464e739dc27067d1179596e634ae9d8739a94 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Wed, 8 Jan 2020 15:10:00 +0100 Subject: [PATCH] allow vector fillranges --- src/backends/pgfplotsx.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 3c33c2ae..bc0bbedd 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -245,7 +245,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend}) end # add fillrange if sf !== nothing && !isfilledcontour(series) && series[:ribbon] === nothing - if sf isa Number + if sf isa Number || sf isa AVec pgfx_fillrange_series!( axis, series, series_func, i, _cycle(sf, rng), rng) end if i == 1 && opt[:label] != "" && sp[:legend] != :none && should_add_to_legend(series)