diff --git a/src/args.jl b/src/args.jl index 34bd7ae6..4a368894 100644 --- a/src/args.jl +++ b/src/args.jl @@ -189,6 +189,7 @@ end const _keyAliases = Dict( :c => :color, :lab => :label, + :l => :line, :w => :linewidth, :width => :linewidth, :lw => :linewidth, @@ -366,10 +367,10 @@ function processMarkerArg(d::Dict, arg) if T <: Symbol arg = get(_markerAliases, arg, arg) - println(arg) + # println(arg) if arg in _allMarkers - println("HERE ", arg) + # println("HERE ", arg) d[:marker] = arg elseif arg != :match && !handleColors!(d, arg, :markercolor) warn("Skipped marker arg $arg. Unknown symbol.") diff --git a/src/backends/gadfly_shapes.jl b/src/backends/gadfly_shapes.jl index b84ead2a..a4da6dc6 100644 --- a/src/backends/gadfly_shapes.jl +++ b/src/backends/gadfly_shapes.jl @@ -14,7 +14,7 @@ function createGadflyAnnotation(d::Dict) shape = ohlcshape(x, y, d[:markersize]) d[:y] = Float64[z.open for z in y] d[:linetype] = :none - return Gadfly.Guide.annotation(Gadfly.compose(Gadfly.context(), shape, Gadfly.fill(nothing), Gadfly.stroke(getColor(d[:color],1))) + return Gadfly.Guide.annotation(Gadfly.compose(Gadfly.context(), shape, Gadfly.fill(nothing), Gadfly.stroke(getColor(d[:color],1)))) elseif marker == :rect shape = square(x, y, sz) diff --git a/src/colors.jl b/src/colors.jl index 0b066e4a..f9e162c6 100644 --- a/src/colors.jl +++ b/src/colors.jl @@ -145,7 +145,7 @@ function getColor(gradient::ColorGradient, z::Real, idx::Int) cs[end] end -getColorVector(gradient::ColorGradient) = [gradient.cs[1]] +getColorVector(gradient::ColorGradient) = [gradient.colors[1]] function interpolate(c1::Colorant, c2::Colorant, w::Real) lab1 = Lab(c1)