Merge pull request #2622 from daschw/errorbar

fix errorbars with string axes
This commit is contained in:
Daniel Schwabeneder 2020-04-23 21:07:37 +02:00 committed by GitHub
commit d9efbbcf5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1019,7 +1019,7 @@ error_tuple(x::Tuple) = x
function error_coords(errorbar, errordata, otherdata...) function error_coords(errorbar, errordata, otherdata...)
ed = Vector{float_extended_type(errordata)}(undef, 0) ed = Vector{float_extended_type(errordata)}(undef, 0)
od = [Float64[] for _ in otherdata] od = [Vector{float_extended_type(odi)}(undef, 0) for odi in otherdata]
for (i, edi) in enumerate(errordata) for (i, edi) in enumerate(errordata)
for (j, odj) in enumerate(otherdata) for (j, odj) in enumerate(otherdata)
odi = _cycle(odj, i) odi = _cycle(odj, i)