def determine_ticks(low, high):
range_ = high - low<EOL>tick_difference = <NUM_LIT:10> ** math.floor(math.log10(range_ / <NUM_LIT>))<EOL>low_tick = math.floor(low / tick_difference) * tick_difference<EOL>ticks = [low_tick + tick_difference] if low_tick < low else [low_tick]<EOL>while ticks[-<NUM_LIT:1>] + tick_difference <= high:<EOL><INDENT>ticks.append(ticks[-<NUM_LIT:1>] + tick_difference)<EOL><DEDENT>return tuple(ticks)<EOL>
The function used to auto-generate ticks for an axis, based on its
    range of values.

    :param Number low: The lower bound of the axis.
    :param Number high: The upper bound of the axis.
    :rtype: ``tuple``