pyplot minmax fix; convertToAnyVector fix
This commit is contained in:
parent
347820867d
commit
165c84c246
@ -472,6 +472,13 @@ function minmaxseries(ds, vec, axis)
|
||||
hi = max(hi, vhi)
|
||||
end
|
||||
end
|
||||
if lo == hi
|
||||
hi = if lo == 0
|
||||
1e-6
|
||||
else
|
||||
hi + min(abs(1e-2hi), 1e-6)
|
||||
end
|
||||
end
|
||||
lo, hi
|
||||
end
|
||||
|
||||
|
||||
@ -262,7 +262,8 @@ function convertToAnyVector(v::AVec; kw...)
|
||||
Any[convert(Vector{Float64}, v)], nothing
|
||||
else
|
||||
# something else... treat each element as an item
|
||||
Any[vi for vi in v], nothing
|
||||
vcat(Any[convertToAnyVector(vi)[1] for vi in v]...), nothing
|
||||
# Any[vi for vi in v], nothing
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user