Merge fddf11fa7c9afe164da87319d7e937822a742f1f into 9acb89ba8ab78b9252e0c72c7c1285ada2b2abd5

This commit is contained in:
Will Kearney 2018-04-04 21:28:16 +00:00 committed by GitHub
commit 23022c9154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,6 +393,10 @@ function _process_seriesrecipe(plt::Plot, d::KW)
d[:fillrange] = nothing
end
if (d[:seriestype] == :path) && typeof(d[:linecolor]) <: Vector
error("1D column vectors not supported for color specification in line plots. Perhaps you meant to use a 2D row vector?")
end
# if it's natively supported, finalize processing and pass along to the backend, otherwise recurse
if is_seriestype_supported(st)
sp = _prepare_subplot(plt, d)