     cross_range = ranges[j]
 
     [start, end] = @get('computed_bounds')
-
-    tmp = Math.min(start, end)
-    end = Math.max(start, end)
 
     interval = ticking.auto_interval(start, end)
     ticks = ticking.auto_ticks(null, null, start, end, interval)


    @formatter = new ticking.BasicTickFormatter()

    @formatter = new ticking.BasicTickFormatter()

  render: () ->

    ctx = @plot_view.ctx

    i = @get('dimension')
    j = (i + 1) % 2

    ranges = [@get_obj('plot').get_obj('x_range'), @get_obj('plot').get_obj('y_range')]

    user_bounds = @get('bounds') ? 'auto'
    range_bounds = [ranges[i].get('min'), ranges[i].get('max')]
