fix passing ticks tuple on 0.6

This commit is contained in:
Daniel Schwabeneder 2017-05-21 23:44:12 +02:00
parent 93d16a27c1
commit bad2ef63c6

View File

@ -241,7 +241,7 @@ function get_ticks(axis::Axis)
elseif typeof(ticks) <: Union{AVec, Int}
# override ticks, but get the labels
optimal_ticks_and_labels(axis, ticks)
elseif typeof(ticks) <: NTuple{2}
elseif typeof(ticks) <: NTuple{2, Any}
# assuming we're passed (ticks, labels)
ticks
else