     return
 
   _draw_major_ticks: (ctx) ->
-    [x, y] = @mget('major_coords')
+    [x, y] = coords = @mget('major_coords')
     [sx, sy] = @plot_view.map_to_screen(x, "data", y, "data")
     [nx, ny] = @mget('normals')
     tin = @mget('major_tick_in')

  default_view: LinearAxisView
  type: 'GuideRenderer'

  dinitialize: (attrs, options)->
    super(attrs, options)
    @register_property('bounds', @_bounds, false)
    @add_dependencies('bounds', this, ['guidespec'])


  _tick_label_extent: () ->
    extent = 0
    dim = @mget('guidespec').dimension
    coords = @mget('major_coords')
    side = @mget('side')
