-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode notebook viewer not implemented #2989
Comments
Update: Now, when I run the unsaved Jupyter notebook in the VSCode notebook viewer, the |
VSCode notebook viewer isn't tested at all with JSServe right now, so this is somewhat expected. |
Bummer that this is so non-standardized. In my tests, attempts to plot to VSCode/notebook often seems to hang for a long time. If interrupted, it prints this stack trace:
|
As a temporary workaround for this problem (and also maybe #3117 and #2405) is it possible for WGLMakie to detect an "unsupported context"? In this case, WGLMakie could send the figure to a fresh web browser tab, where Makie has full control? This would be a better user experience for new Julia users, who may not be familiar with WGLMakie subtleties. |
Consider the following 2-cell Jupyter notebook:
Cell 1:
Cell 2:
If I enter and run these two cells in an unsaved Jupyter notebook, in the VSCode Jupyter notebook viewer, a scatter plot is displayed.
Issue 1: If I enter and run these two cells in a Jupyter notebook saved under some filename, using the VSCode Jupyter notebook viewer, the cells appear to run, but no scatter plot is displayed. (Other times when I do this, the scatter cell appears to run indefinitely. I am not sure what the difference is between the times when the cell finishes executing without displaying anything, and when the cell appears to infinite-loop.)
Possible issue 2: If I add a cell at the top of the notebook, with the code
(which the documentation appears to suggest), then executing
scatter(1:3, 1:3)
(or any line of code which should result in a WGLMakie plot being displayed) appears to run indefinitely. (I am not sure we are supposed to add a Page, in this case, but if not perhaps this should be clarified in the documentation.)The text was updated successfully, but these errors were encountered: