remove unnecessary checks
This commit is contained in:
parent
53070dba71
commit
0dff47e577
@ -292,8 +292,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
|
|||||||
if sf isa Number || sf isa AVec
|
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] != "" &&
|
if sp[:legend] != :none && pgfx_should_add_to_legend(series)
|
||||||
sp[:legend] != :none && pgfx_should_add_to_legend(series)
|
|
||||||
pgfx_filllegend!(series_opt, opt)
|
pgfx_filllegend!(series_opt, opt)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user