allow for generalized arrays in pgfplots backend

This commit is contained in:
Michael Kraus 2019-12-06 09:34:40 +01:00
parent cde041e977
commit 750f96cca7

View File

@ -180,11 +180,11 @@ function pgf_series(sp::Subplot, series::Series)
end
# PGFPlots can't handle non-Vector?
args = map(a -> if typeof(a) <: AbstractVector && typeof(a) != Vector
collect(a)
else
a
end, args)
# args = map(a -> if typeof(a) <: AbstractVector && typeof(a) != Vector
# collect(a)
# else
# a
# end, args)
if st in (:contour, :histogram2d)
style = []