Hi,<div>I am trying to render some webgls in IPython notebook,</div><div>My code is on these lines ..</div><div><br></div><div>function Canvas(arg) { this.initialize = function() { container.show(); ..... }}</div><div><br>
</div><div>then I call </div><div>var new_canvas = new Canvas(arg);</div><div>new_canvas.initialize();</div><div><br></div><div>I get this error ..</div><div><span style="color:rgb(255,0,0);font-family:'dejavu sans mono',monospace;font-size:11px;line-height:13px;background-color:rgb(255,255,255)">ReferenceError: container is not defined</span><span class="object-info-state-note" title="Object state below is captured upon first expansion" style="display:inline-block;width:11px;height:11px;background-color:rgb(179,203,247);color:white;text-align:center;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;line-height:13px;margin:0px 6px;font-size:9px;font-family:'dejavu sans mono',monospace"></span></div>
<div><br></div><div>Any Ideas what might be wrong.</div><div><br></div>