diff --git a/src/args.jl b/src/args.jl index 225b9f16..fed22366 100644 --- a/src/args.jl +++ b/src/args.jl @@ -96,8 +96,6 @@ function getPlotKeywordArgs(kw, idx::Int, n::Int) # fill in d with either 1) plural value, 2) value, 3) default for k in keys(PLOT_DEFAULTS) plural = makeplural(k) - # if haskey(d, plural) - # d[k] = d[plural][idx] if !haskey(d, k) if n == 0 || k != :size d[k] = haskey(d, plural) ? d[plural][idx] : PLOT_DEFAULTS[k] diff --git a/src/backends/unicodeplots.jl b/src/backends/unicodeplots.jl index cd9c98e3..08f5ed53 100644 --- a/src/backends/unicodeplots.jl +++ b/src/backends/unicodeplots.jl @@ -66,12 +66,6 @@ function addUnicodeSeries!(o, d::Dict, addlegend::Bool) elseif lt == :stepinverted func = UnicodePlots.stairs! stepstyle = :pre - # elseif lt in (:sticks, :bar) - # d = barHack(; d...) - # func = UnicodePlots.lineplot! - # elseif lt == :hist - # d = histogramHack(; d...) - # func = UnicodePlots.lineplot! else error("Linestyle $lt not supported by UnicodePlots") end @@ -98,8 +92,7 @@ function plot(pkg::UnicodePlotsPackage; kw...) if !haskey(plt.initargs, :size) || plt.initargs[:size] == PLOT_DEFAULTS[:size] plt.initargs[:size] = (60,20) end - # w,h = plt.initargs[:size] - # plt.initargs[:size] = (min(200,w), min(200,h)) + plt end