allow vector fillranges
This commit is contained in:
parent
11c86b2d30
commit
3b7464e739
@ -245,7 +245,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
|||||||
end
|
end
|
||||||
# add fillrange
|
# add fillrange
|
||||||
if sf !== nothing && !isfilledcontour(series) && series[:ribbon] === nothing
|
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)
|
pgfx_fillrange_series!( axis, series, series_func, i, _cycle(sf, rng), rng)
|
||||||
end
|
end
|
||||||
if i == 1 && opt[:label] != "" && sp[:legend] != :none && should_add_to_legend(series)
|
if i == 1 && opt[:label] != "" && sp[:legend] != :none && should_add_to_legend(series)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user