Merge pull request #1497 from daschw/markerstroke

fix markerstrokecolor = :auto (fix #1496)
This commit is contained in:
Daniel Schwabeneder 2018-04-25 17:56:20 +02:00 committed by GitHub
commit fc460554e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1529,6 +1529,8 @@ 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])
elseif d[:markerstrokecolor] == :auto
getSeriesRGBColor(plot_color(d[:markercolor], d[:markeralpha]), sp, plotIndex)
else
getSeriesRGBColor(plot_color(d[:markerstrokecolor], d[:markerstrokealpha]), sp, plotIndex)
end