Merge pull request #853 from daschw/ds-ticks-tuple

fix passing ticks tuple on 0.6
This commit is contained in:
Daniel Schwabeneder 2017-05-22 08:05:04 +02:00 committed by GitHub
commit 0e6942a182

View File

@ -229,7 +229,7 @@ function get_ticks(axis::Axis)
elseif typeof(ticks) <: AVec
# 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