check for empty labs

This commit is contained in:
Thomas Breloff 2016-10-25 22:33:53 -04:00
parent aa6814a6d3
commit 3aac2b2895

View File

@ -58,6 +58,7 @@ function tick_padding(axis::Axis)
0mm
else
vals, labs = ticks
isempty(labs) && return 0mm
ptsz = axis[:tickfont].pointsize * pt
# we need to compute the size of the ticks generically