diff --git a/README.md b/README.md index 0dcda86..460b240 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ installation may refer to the below table. | ------------- | ---------------- | | 0.33.x | 0.6.0 | | 0.34.x | 0.6.1-0.6.2 | -| 0.35.x | 0.6.3-0.7.1 | +| 0.35.x | 0.6.3-0.7.2 | ## Developing the Jupyterlab extension diff --git a/package.json b/package.json index 759d4b7..4de09cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pyviz/jupyterlab_pyviz", - "version": "0.7.1", + "version": "0.7.2", "description": "A JupyterLab extension for rendering PyViz content", "author": "Philipp Rudiger ", "main": "lib/index.js", diff --git a/src/renderer.ts b/src/renderer.ts index 389ce74..42ef2ee 100644 --- a/src/renderer.ts +++ b/src/renderer.ts @@ -123,9 +123,8 @@ class HVJSExec extends Widget implements IRenderMime.IRenderer { } this._dispose = true; if (id !== undefined) { - // I'm a static document if ((window as any).PyViz === undefined) { - (window as any).PyViz = {kernels: {}, plot_index: {}}; + (window as any).PyViz = {comms: {}, comm_status:{}, kernels:{}, receivers: {}, plot_index: []}; } else if ((window as any).PyViz.plot_index === undefined) { (window as any).PyViz.plot_index = {} }