From cd7c0840b72561cf70b3484073799042d103243a Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 31 Oct 2016 11:19:46 +0100 Subject: [PATCH 1/2] fix markerstrokecolor :match Fix markerstrokecolor value :match to match seriescolor (as specified in the docs) rather than foreground_color_subplot --- src/args.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.jl b/src/args.jl index 133974b3..b62baa58 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1221,7 +1221,7 @@ function _add_defaults!(d::KW, plt::Plot, sp::Subplot, commandIndex::Int) # update markerstrokecolor d[:markerstrokecolor] = if d[:markerstrokecolor] == :match - plot_color(sp[:foreground_color_subplot], d[:markerstrokealpha]) + plot_color(sp[:seriescolor], d[:markerstrokealpha]) else getSeriesRGBColor(d[:markerstrokecolor], d[:markerstrokealpha], sp, plotIndex) end From 9e9a75bcf8ea6bbe1be7c9ebb80b6564080b758e Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Mon, 31 Oct 2016 11:29:16 +0100 Subject: [PATCH 2/2] look in the d not the sp Dict for seriescolor --- src/args.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/args.jl b/src/args.jl index b62baa58..a09682f3 100644 --- a/src/args.jl +++ b/src/args.jl @@ -1221,7 +1221,7 @@ function _add_defaults!(d::KW, plt::Plot, sp::Subplot, commandIndex::Int) # update markerstrokecolor d[:markerstrokecolor] = if d[:markerstrokecolor] == :match - plot_color(sp[:seriescolor], d[:markerstrokealpha]) + plot_color(d[:seriescolor], d[:markerstrokealpha]) else getSeriesRGBColor(d[:markerstrokecolor], d[:markerstrokealpha], sp, plotIndex) end