         i += step
     return ret_arr
 
-
-  auto_ticks = (data_low, data_high, bound_low, bound_high, tick_interval, use_endpoints=false, zero_always_nice=true) ->
+  auto_ticks_old = (data_low, data_high, bound_low, bound_high, tick_interval, use_endpoints=false, zero_always_nice=true) ->
       """ Finds locations for axis tick marks.
 
           Calculates the locations for tick marks on an axis. The *bound_low*,

      #ret_arr.push(sorted_arr.indexOf(y))
    return ret_arr

  float = (x) ->
    return x + 0.0

  auto_interval_temp = (data_low, data_high) ->
      """ Calculates the tick interval for a range.

          The boundaries for the data to be plotted on the axis are::

      candidate_mantissas = [allowed_mantissas[index - 1],
                             allowed_mantissas[index]]

      # FIXME Use absolute value here!
      errors = candidate_mantissas.map((mantissa) ->
        return desired_n_ticks - (data_range / (mantissa * ideal_magnitude)))
      best_mantissa = candidate_mantissas[argsort(errors)[0]]
