fix vspan and hspan (copy in shape_data)

This commit is contained in:
Daniel Schwabeneder 2020-04-15 19:53:31 +02:00
parent a64d84ae70
commit 41b34e59c7

View File

@ -1071,7 +1071,7 @@ end
function shape_data(series, expansion_factor = 1)
sp = series[:subplot]
xl, yl = isvertical(series) ? (xlims(sp), ylims(sp)) : (ylims(sp), xlims(sp))
x, y = series[:x], series[:y]
x, y = copy(series[:x]), copy(series[:y])
factor = 100
for i in eachindex(x)
if x[i] == -Inf