Skip to content

Commit

Permalink
Merge pull request #1644 from mkborregaard/master
Browse files Browse the repository at this point in the history
Don't broadcast `plot_color`; fix #1641
  • Loading branch information
mkborregaard authored Aug 13, 2018
2 parents 6dc0823 + 12008ef commit d084e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/args.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1569,13 +1569,13 @@ function _update_series_attributes!(d::KW, plt::Plot, sp::Subplot)
for s in (:line, :marker, :fill)
csym, asym = Symbol(s,:color), Symbol(s,:alpha)
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]
else
d[:seriescolor]
end)
elseif d[csym] == :match
plot_color.(d[:seriescolor])
plot_color(d[:seriescolor])
else
getSeriesRGBColor.(d[csym], Ref(sp), plotIndex)
end
Expand Down

0 comments on commit d084e31

Please sign in to comment.