From 40cc74bea671e8466163691d044a8cab5b6e5391 Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Sun, 1 Aug 2021 00:32:33 +0200 Subject: [PATCH] Gaston: fix :steppre, :steppost, add histeps --- src/backends/gaston.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index 769d2984..9f53d8ae 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -288,9 +288,11 @@ function gaston_seriesconf!(sp::Subplot{GastonBackend}, series::Series, i::Int) lc, _ = gaston_lc_ls_lw(series, clims, i) push!(curveconf, "w filledcurves fc $fc fs solid border lc $lc") elseif st == :steppre - push!(curveconf, "w steps") + push!(curveconf, "w fsteps") + elseif st == :stepmid + push!(curveconf, "w histeps") elseif st == :steppost - push!(curveconf, "w fsteps") # Not sure if not the other way + push!(curveconf, "w steps") elseif st == :image palette = gaston_palette(series[:seriescolor]) gsp.axesconf *= "\nset palette model RGB defined $palette"