def has_level_label(label_flags, vmin):
if label_flags.size == <NUM_LIT:0> or (label_flags.size == <NUM_LIT:1> and<EOL>label_flags[<NUM_LIT:0>] == <NUM_LIT:0> and<EOL>vmin % <NUM_LIT:1> > <NUM_LIT:0.0>):<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Returns true if the ``label_flags`` indicate there is at least one label
for this level.

if the minimum view limit is not an exact integer, then the first tick
label won't be shown, so we must adjust for that.