collect vectors to workaround vcat issue
This commit is contained in:
parent
27cc930661
commit
44856ba08a
@ -1271,7 +1271,7 @@ _animation_examples = [2, 31]
|
|||||||
_backend_skips = Dict(
|
_backend_skips = Dict(
|
||||||
:gr => [25, 30],
|
:gr => [25, 30],
|
||||||
:pyplot => [2, 25, 30, 31, 49, 55, 56],
|
:pyplot => [2, 25, 30, 31, 49, 55, 56],
|
||||||
:plotlyjs => [2, 21, 24, 25, 30, 31, 49, 51, 55, 56],
|
:plotlyjs => [2, 21, 24, 25, 30, 31, 49, 50, 51, 55, 56],
|
||||||
:pgfplotsx => [
|
:pgfplotsx => [
|
||||||
2, # animation
|
2, # animation
|
||||||
6, # images
|
6, # images
|
||||||
|
|||||||
@ -432,9 +432,9 @@ end
|
|||||||
|
|
||||||
#turn tuple of fillranges to one path
|
#turn tuple of fillranges to one path
|
||||||
function concatenate_fillrange(x, y::Tuple)
|
function concatenate_fillrange(x, y::Tuple)
|
||||||
rib1, rib2 = first(y), last(y)
|
rib1, rib2 = collect(first(y)), collect(last(y)) # collect needed until https://github.com/JuliaLang/julia/pull/37629 is merged
|
||||||
yline = vcat(rib1, (rib2)[end:-1:1])
|
yline = vcat(rib1, reverse(rib2))
|
||||||
xline = vcat(x, x[end:-1:1])
|
xline = vcat(x, reverse(x))
|
||||||
return xline, yline
|
return xline, yline
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user