Merge pull request #1497 from daschw/markerstroke
fix markerstrokecolor = :auto (fix #1496)
This commit is contained in:
commit
fc460554e7
@ -1529,6 +1529,8 @@ 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[:foreground_color_subplot], d[:markerstrokealpha])
|
||||||
|
elseif d[:markerstrokecolor] == :auto
|
||||||
|
getSeriesRGBColor(plot_color(d[:markercolor], d[:markeralpha]), sp, plotIndex)
|
||||||
else
|
else
|
||||||
getSeriesRGBColor(plot_color(d[:markerstrokecolor], d[:markerstrokealpha]), sp, plotIndex)
|
getSeriesRGBColor(plot_color(d[:markerstrokecolor], d[:markerstrokealpha]), sp, plotIndex)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user