From 88cfd82a25ff3fc836350d2dfdc634889d78e1a7 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Tue, 22 Sep 2015 17:19:37 -0400 Subject: [PATCH] unicodeplots fixes --- src/backends/unicodeplots.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index 2b5382d9..fefb9989 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -71,9 +71,9 @@ function addUnicodeSeries!(o, d::Dict, addlegend::Bool) func = UnicodePlots.lineplot! elseif lt == :scatter || d[:marker] != :none func = UnicodePlots.scatterplot! - elseif lt == :step + elseif lt == :steppost func = UnicodePlots.stairs! - elseif lt == :stepinverted + elseif lt == :steppre func = UnicodePlots.stairs! stepstyle = :pre else @@ -94,6 +94,7 @@ end function handlePlotColors(::UnicodePlotsPackage, d::Dict) # TODO: something special for unicodeplots, since it doesn't take kindly to people messing with its color palette + d[:color_palette] = [RGB(0,0,0)] end # -------------------------------