     @$el.attr("width", ow).attr('height', oh)
 
     @ctx = @canvas[0].getContext('2d')
+    if full_render
+      @render()
 
   save_png: () ->
     @render()

  unpause : (render_canvas=false) ->
    @is_paused = false
    if render_canvas
      @render_canvas()
    @request_render()

  request_render : () ->
    if not @is_paused
      @throttled_render()
    return

  request_render_canvas : () ->
    if not @is_paused
      @render_canvas()
    return

  initialize: (options) ->
    # $('body').mousedown(@_mousedown)
    # $('body').mousemove(@_mousemove)
    @throttled_render = _.throttle(@render, 100)

    @title_props = new text_properties(@, {}, 'title_')


    @canvas_wrapper = @$el.find('.bokeh_canvas_wrapper')
    @canvas = @$el.find('canvas.bokeh_canvas')

  render_canvas: (full_render=true) ->
    console.log("rendercanvas")
    oh = @view_state.get('outer_height')
    ow = @view_state.get('outer_width')

