fix markerstrokecolor :match

Fix markerstrokecolor value :match to match seriescolor (as specified
in the docs) rather than foreground_color_subplot
This commit is contained in:
Michael K. Borregaard 2016-10-31 11:19:46 +01:00
parent 068282af55
commit cd7c0840b7

View File

@ -1221,7 +1221,7 @@ function _add_defaults!(d::KW, plt::Plot, sp::Subplot, commandIndex::Int)
# update markerstrokecolor # update markerstrokecolor
d[:markerstrokecolor] = if d[:markerstrokecolor] == :match d[:markerstrokecolor] = if d[:markerstrokecolor] == :match
plot_color(sp[:foreground_color_subplot], d[:markerstrokealpha]) plot_color(sp[:seriescolor], d[:markerstrokealpha])
else else
getSeriesRGBColor(d[:markerstrokecolor], d[:markerstrokealpha], sp, plotIndex) getSeriesRGBColor(d[:markerstrokecolor], d[:markerstrokealpha], sp, plotIndex)
end end