Merge pull request #1644 from mkborregaard/master
Don't broadcast `plot_color`; fix #1641
This commit is contained in:
commit
d084e31065
@ -1569,13 +1569,13 @@ function _update_series_attributes!(d::KW, plt::Plot, sp::Subplot)
|
|||||||
for s in (:line, :marker, :fill)
|
for s in (:line, :marker, :fill)
|
||||||
csym, asym = Symbol(s,:color), Symbol(s,:alpha)
|
csym, asym = Symbol(s,:color), Symbol(s,:alpha)
|
||||||
d[csym] = if d[csym] == :auto
|
d[csym] = if d[csym] == :auto
|
||||||
plot_color.(if has_black_border_for_default(d[:seriestype]) && s == :line
|
plot_color(if has_black_border_for_default(d[:seriestype]) && s == :line
|
||||||
sp[:foreground_color_subplot]
|
sp[:foreground_color_subplot]
|
||||||
else
|
else
|
||||||
d[:seriescolor]
|
d[:seriescolor]
|
||||||
end)
|
end)
|
||||||
elseif d[csym] == :match
|
elseif d[csym] == :match
|
||||||
plot_color.(d[:seriescolor])
|
plot_color(d[:seriescolor])
|
||||||
else
|
else
|
||||||
getSeriesRGBColor.(d[csym], Ref(sp), plotIndex)
|
getSeriesRGBColor.(d[csym], Ref(sp), plotIndex)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user