Apply suggestions from code review
Co-authored-by: t-bltg <tf.bltg@gmail.com>
This commit is contained in:
parent
616ba9954f
commit
c98df7a98d
@ -229,7 +229,7 @@ function gaston_add_series(plt::Plot{GastonBackend}, series::Series)
|
|||||||
if gsp.dims == 2 && z === nothing
|
if gsp.dims == 2 && z === nothing
|
||||||
for (n, seg) in enumerate(series_segments(series, st; check = true))
|
for (n, seg) in enumerate(series_segments(series, st; check = true))
|
||||||
i, rng = seg.attr_index, seg.range
|
i, rng = seg.attr_index, seg.range
|
||||||
fr =_cycle(series[:fillrange], 1:length(x[rng])) ####
|
fr =_cycle(series[:fillrange], 1:length(x[rng]))
|
||||||
for sc in gaston_seriesconf!(sp, series, i, n == 1)
|
for sc in gaston_seriesconf!(sp, series, i, n == 1)
|
||||||
push!(curves, Gaston.Curve(x[rng], y[rng], nothing, fr, sc))
|
push!(curves, Gaston.Curve(x[rng], y[rng], nothing, fr, sc))
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user