From 5506c0543c9330d378703c7cf32f19dc4517e7a6 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 12 Apr 2019 09:24:28 +0200 Subject: [PATCH 1/2] don't let `marker = true` set the marker size to 1 --- src/args.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/args.jl b/src/args.jl index 13423b33..c443b5bb 100644 --- a/src/args.jl +++ b/src/args.jl @@ -737,6 +737,10 @@ function processMarkerArg(plotattributes::KW, arg) elseif allAlphas(arg) plotattributes[:markeralpha] = arg + # bool + elseif typeof(arg) <: Bool + plotattributes[:markershape] = arg ? :auto : :none + # markersize elseif allReals(arg) plotattributes[:markersize] = arg From b6b00c843a55423f838e0330ccc52ab2fb121ec9 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 12 Apr 2019 09:42:19 +0200 Subject: [PATCH 2/2] set default to :circle instead of :auto for marker = true --- src/args.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.jl b/src/args.jl index c443b5bb..24676d01 100644 --- a/src/args.jl +++ b/src/args.jl @@ -739,7 +739,7 @@ function processMarkerArg(plotattributes::KW, arg) # bool elseif typeof(arg) <: Bool - plotattributes[:markershape] = arg ? :auto : :none + plotattributes[:markershape] = arg ? :circle : :none # markersize elseif allReals(arg)