From 41b34e59c7cb060daf5a4598417da29fabfdf76b Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Wed, 15 Apr 2020 19:53:31 +0200 Subject: [PATCH] fix vspan and hspan (copy in shape_data) --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 661b23bb..481def0f 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -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