jupyterlab/jupyter-renderers

Failed to open *.plotly.json file

jonmmease opened this issue · 1 comments

Issue

Opening a *.plotly.json file failes

Versions

@jupyterlab/plotly-extension: 0.17.1
JupyterLab 0.34.0

To reproduce

Create a file named fig.plotly.json with contents:

{"data": [{"y": [2, 3, 1]}]}

Double click file in JupyterLab to open. The following error is displayed
screen shot 2018-09-17 at 7 55 41 pm

Chrome developer console error:
screen shot 2018-09-17 at 7 56 26 pm

Fixed by #159