 
 window.TIMESLICE = 40 # ms
 
-BORDER = 50
-
 NGRAMS = 800
 
 HIST_NUM_BINS = 16

      x_range: @xrange.ref()
      y_range: @yrange.ref()
      border_fill: "#fff"
      canvas_width:  options.width  + 2*options.border
      canvas_height: options.height + 2*options.border
      outer_width:   options.width  + 2*options.border
      outer_height:  options.height + 2*options.border
      tools: []
      title: ""
    )

    xaxis = Collections('GuideRenderer').create(
      guidespec: {
        type: 'linear_axis'
        dimension: 0
        location: 'min'
        bounds: 'auto'
      }
      plot: @model.ref()
    )

    yaxis = Collections('GuideRenderer').create(
      guidespec: {
        type: 'linear_axis'
        dimension: 1
        location: 'min'
        bounds: 'auto'
      }
      plot: @model.ref()
    )

    glyph = Collections('GlyphRenderer').create({

      canvas_height: options.height
      outer_width:   options.width
      outer_height:  options.height
      tools: []
      title: ""
    )
