         "left:#{offset[0]}px; top:#{ypos}px")
       plot_wrapper.append(view.$el)
       @$el.append(plot_wrapper)
+      @$el.attr(
+        'style',
+        "height:#{@mget('height')}px; width:#{@mget('width')}px;")
     @render_end()
 
 
 class PlotView extends Continuum.DeferredView
-  default_options : {
-    scale:1.0
-  }
+  default_options : {scale:1.0}
 
   build_renderers : ->
-    build_views(@model, @renderers, @mget('renderers')
-      ,
+    build_views(@model, @renderers, @mget('renderers'),
         plot_id : @id,
         plot_model : @model
-        plot_view : @
-    )
+        plot_view : @)
 
   build_axes : ->
-    build_views(@model, @axes, @mget('axes')
-      ,
+    build_views(@model, @axes, @mget('axes'),
         plot_id : @id
         plot_model : @model
-        plot_view : @
-    )
+        plot_view : @)
 
   build_tools : ->
-    build_views(@model, @tools, @mget('tools')
-      ,
+    build_views(@model, @tools, @mget('tools'),
         plot_id : @id,
         plot_model : @model
-        plot_view : @
-    )
+        plot_view : @)
 
   build_overlays : ->
     #add ids of renderer views into the overlay spec

      overlayspec['options']['rendererviews'] = []
      for renderer in overlay.get('renderers')
        overlayspec['options']['rendererviews'].push(@renderers[renderer.id])
    build_views(@model, @overlays, overlays
      ,
        plot_id : @id,
        plot_model : @model
        plot_view : @
    )

  bind_overlays : ->
    for overlayspec in @mget('overlays')

    safebind(this, @model, 'destroy', () => @remove())
    #@$el.attr('style', "display:block; height:300px; width:400px;")

    @$el.append($("""
      <div class='button_bar'/>
      <div class='all_can_wrapper'>
