look in the d not the sp Dict for seriescolor

This commit is contained in:
Michael K. Borregaard 2016-10-31 11:29:16 +01:00
parent cd7c0840b7
commit 9e9a75bcf8

View File

@ -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