From c98df7a98de6894b55e04e7ed675059fee780ace Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Thu, 26 Aug 2021 16:23:25 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: t-bltg --- src/backends/gaston.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index ef54a066..cd0ccc4a 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -229,9 +229,9 @@ 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)) + push!(curves, Gaston.Curve(x[rng], y[rng], nothing, fr, sc)) end end else @@ -310,7 +310,7 @@ function gaston_seriesconf!( if fr !== nothing # filled curves, but not filled curves with markers push!(curveconf, "w filledcurves fc $fc fs solid border lc $lc lw $lw dt $dt,'' w lines lc $lc lw $lw dt $dt") elseif series[:markershape] == :none # simplepath - push!(curveconf, "w lines lc $lc dt $dt lw $lw") + push!(curveconf, "w lines lc $lc dt $dt lw $lw") else pt, ps, mc = gaston_mk_ms_mc(series, clims, i) push!(curveconf, "w lp lc $mc dt $dt lw $lw pt $pt ps $ps")