using Plots plotlyjs() plot(rand(10,4),rand(10,4),rand(10,4))
Runs perfectly fine as a .jl in my vscode environment, but the same code just runs forever when inside of a Jupyter notebook in VS Code. Any ideas on how how to fix this?
Yes, it’s the same environment. I have been using Jupyter for everything, and have yet to come across anything that doesn’t work in Jupyter but works in REPL.
I’ve had trouble getting plotlyjs() to run as the backend in VSCode Jupyter notebook. It does run from the REPL without issue.
My packages are:
PlotlyJS v0.18.10
Plots v1.38.12
StatsPlots v0.15.5
I did have IJulia and Conda installed but couldn’t use plotlyhs at all in vscode jupyter. I removed those, and now on first load of VSCode, I can set plotlyjs() as the backend inside a jupyter notebook and plot with Plots (or StatsPlots). I can run as many plots as I like in the notebook. Once I close VSCode and reload later, plotlyjs() just runs forever and no plots show. If I reboot, and load VSCode, they’ll plot again until I close. Then I can’t plot until I reboot.
Apparently this issue hasn’t gone away. I’m using VSCode and the latest Julia version and packages as of 10/20/23: Julia 1.9.3, IJulia 1.24.2, PlotlyJS 0.18.11, and Plots 1.39.0. The using PlotlyJS statement never returns. Any help would be appreciated.