           dimension: 0
           bounds: 'auto'
         }
-        parent: plot_model.ref()
+        plot: plot_model.ref()
       )
       yrule = Collections('GuideRenderer').create(
         guidespec: {

        glyph.set(defaults)
        glyphs.push(glyph)
    plot_model = Collections('Plot').create(
      x_range: xrange # TODO .ref() fails?
      y_range: yrange
      canvas_width: dims[0]
      canvas_height: dims[1]
      outer_width: dims[0]

          location: 'min'
          bounds: 'auto'
        }
        plot: plot_model.ref()
      )
      yaxis1 = Collections('GuideRenderer').create(
        guidespec: {
