You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In jupyterlab a plot generated by a chunk of code and the package PlotlyJS is not shown, that is, when executed it appear just an empty cell. The labextension of WebIO is installed and detected.
By example running this chunk of julia in a cell of jupyterlab
Im not completely sure if the issue (not showing a plot of PlotlyJS package in Jupyter lab) is due to WebIO or not, but I suspect it is the case. This is a direct continuation of this closed thread.
Im running julia and jupyterlab 1.0.2 in windows 10, with these packages installed:
The point is that the labextension of WebIO is installed and detected, however when I try to show a PlotlyJS plot then jupyterlab shows an empty cell, BUT if I do the same in a jupyter notebook it shows correctly the plot, so I suspect that this is due to something related to the package WebIO more like to the package PlotlyJS, so I opened the issue here.
The text was updated successfully, but these errors were encountered:
This is kind of a PlotlyJS issue but it might be something we should fix on this side. Ping @sglyon.
The issue is that PlotlyJS loads JavaScript which assumes the existence of a WebIO window global which is not the case in JupyterLab (because there can be multiple WebIO instances and otherwise there might be "cross-talk" between the multiple instances). The WebIO global does exist inside of onmount and onjs handlers because of the way that WebIO evals the JS code.
This is kind of a PlotlyJS issue but it might be something we should fix on this side. Ping @sglyon.
The issue is that PlotlyJS loads JavaScript which assumes the existence of a WebIO window global which is not the case in JupyterLab (because there can be multiple WebIO instances and otherwise there might be "cross-talk" between the multiple instances). The WebIO global does exist inside of onmount and onjs handlers because of the way that WebIO evals the JS code.
ISSUE
In jupyterlab a plot generated by a chunk of code and the package
PlotlyJS
is not shown, that is, when executed it appear just an empty cell. The labextension of WebIO is installed and detected.By example running this chunk of julia in a cell of jupyterlab
the output cell is empty, with no error message.
CONTEXT
Im not completely sure if the issue (not showing a plot of PlotlyJS package in Jupyter lab) is due to WebIO or not, but I suspect it is the case. This is a direct continuation of this closed thread.
Im running julia and jupyterlab 1.0.2 in windows 10, with these packages installed:
SUMMARY
The point is that the labextension of WebIO is installed and detected, however when I try to show a PlotlyJS plot then jupyterlab shows an empty cell, BUT if I do the same in a jupyter notebook it shows correctly the plot, so I suspect that this is due to something related to the package WebIO more like to the package PlotlyJS, so I opened the issue here.
The text was updated successfully, but these errors were encountered: