Apply suggestions from code review

Co-authored-by: t-bltg <tf.bltg@gmail.com>
This commit is contained in:
Simon Christ 2021-08-26 16:23:25 +02:00 committed by GitHub
parent 616ba9954f
commit c98df7a98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ function gaston_add_series(plt::Plot{GastonBackend}, series::Series)
if gsp.dims == 2 && z === nothing
for (n, seg) in enumerate(series_segments(series, st; check = true))
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)
push!(curves, Gaston.Curve(x[rng], y[rng], nothing, fr, sc))
end