         location: 'min'
         bounds: 'auto'
       }
-      parent: plot_model.ref()
-    )
+      parent: @model
+    )
+
     yaxis = Collections('GuideRenderer').create(
       guidespec: {
         type: 'linear_axis'


    @throttled_request_data = _.throttle((=> @request_data()), 40)

    # Set up image plot for the spectrogram
    @image_width = NGRAMS
    @image_height = 256
    @image = [new ArrayBuffer(SPECTROGRAM_LENGTH * NGRAMS * 4)]
    @spec_source = Collections('ColumnDataSource').create(
      data:{image: @image}
    )
    spec_model = @create_spec()
    @spec_view = new spec_model.default_view(model: spec_model)

    @power_plot = new SimpleIndexPlot({
      x0: 0, x1: window.TIMESLICE, y0: -0.5, y1: 0.5, width: 550, height: 220, border: BORDER

    slider_div = $('<div id="gain-slider" style="width: 200px;"></div>')
    slider_div.slider({
      animate: "fast",
      step: 0.1,
      min: GAIN_MIN,
      max: GAIN_MAX,
      value: GAIN_DEFAULT,
