check for empty labs
This commit is contained in:
parent
aa6814a6d3
commit
3aac2b2895
@ -58,6 +58,7 @@ function tick_padding(axis::Axis)
|
|||||||
0mm
|
0mm
|
||||||
else
|
else
|
||||||
vals, labs = ticks
|
vals, labs = ticks
|
||||||
|
isempty(labs) && return 0mm
|
||||||
ptsz = axis[:tickfont].pointsize * pt
|
ptsz = axis[:tickfont].pointsize * pt
|
||||||
|
|
||||||
# we need to compute the size of the ticks generically
|
# we need to compute the size of the ticks generically
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user