 
       return ticks_in_range
 
+  # Some time constants, in milliseconds.
   ONE_MILLI = 1.0
   ONE_SECOND = 1000.0
   ONE_MINUTE = 60.0 * ONE_SECOND

      ticks = (factor * interval for factor in factors)
      return ticks

  class SingleIntervalScale extends AbstractScale
    constructor: (@interval) ->
      super(['interval'])

  "sprintf",
], (_, tz, sprintf) ->

  # ---------------------------------------------------------------------------
  # Utility functions
  # ---------------------------------------------------------------------------

  # Similar to Python's range function.  Returns an array of values from start
  # (inclusive) to end (exclusive), in steps of step.  If step is negative,
  # starts at end and counts down to start.  If step is not specified, it
  # defaults to sign(end - start).  (XXX Not sure I approve of this; Python's
  # range is not this clever.)
  arange = (start, end=false, step=false) ->
    if not end
      end = start
