 
     return [start, end]
 
-  _grid_coords: () ->
-    return @_grid_coords_helper('major')
-
-  _minor_grid_coords: () ->
-    return @_grid_coords_helper('minor')
-
-  _grid_coords_helper: (location) ->
+  grid_coords: (location, exclude_ends=true) ->
     i = @get('dimension')
     j = (i + 1) % 2
-    [range, cross_range] = @get('ranges')
+    [range, cross_range] = @ranges()
 
-    [start, end] = @get('computed_bounds')
+    [start, end] = @computed_bounds()
 
     tmp = Math.min(start, end)
     end = Math.max(start, end)

  _draw_regions: (ctx) ->
    if not @visuals.band_fill.doit
      return
    [xs, ys] = @mget('grid_coords')
    @visuals.band_fill.set_value(ctx)
    for i in [0...xs.length-1]
      if i % 2 == 1

    ]
    return [ranges[i], ranges[j]]

   computed_bounds: () ->
    [range, cross_range] = @ranges()

    user_bounds = @get('bounds')
    range_bounds = [range.get('min'), range.get('max')]
