undo: fix passing ticks tuple on 0.6

This commit is contained in:
Daniel Schwabeneder
2017-05-21 23:47:26 +02:00
parent bad2ef63c6
commit dd526e00ab
+1 -1
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, Any}
elseif typeof(ticks) <: NTuple{2}
# assuming we're passed (ticks, labels)
ticks
else