Merge pull request #1982 from daschw/colorvector

fix passing a vector of colors
This commit is contained in:
Daniel Schwabeneder 2019-04-04 14:23:18 +02:00 committed by GitHub
commit a6e60aea04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1522,7 +1522,7 @@ function get_series_color(c, sp::Subplot, n::Int, seriestype)
end end
function get_series_color(c::AbstractArray, sp::Subplot, n::Int, seriestype) function get_series_color(c::AbstractArray, sp::Subplot, n::Int, seriestype)
map(x->get_series_color(x, sp, n), c, seriestype) map(x->get_series_color(x, sp, n, seriestype), c)
end end
function ensure_gradient!(plotattributes::KW, csym::Symbol, asym::Symbol) function ensure_gradient!(plotattributes::KW, csym::Symbol, asym::Symbol)