-
Notifications
You must be signed in to change notification settings - Fork 64
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
WebIO support for Visual Studio Code #462
Comments
I see this issue as well. I attempted to get WebIO to render in the Julia Extension Plot Pane by using Base.show(io::IO, m::MIME"juliavscode/html", x::Node) = print(io, WebIO.htmlstring(x)) Then, when displaying a node the plot pane opens with the message:
|
It's up to the VSCode extension to provide integration with WebIO (since otherwise there's no way WebIO can know how to communicate with the Julia process). IJulia is the only "first class" integration that we provide. |
As a workaround I'd recommend using the Blink backend, with the added advantage that you get a new window that you can put in a separate monitor. e.g. using Blink: Window, body!
using Interact: @manipulate
using Plots: plot, plotlyjs
##
plotlyjs()
w = Window()
##
x = range(0, 6π; length=1000)
ui = @manipulate for i in 1:10
plot(sin.(i .* x) .* cos.(i .* 2x))
end
body!(w, ui) |
Using the Jupyter extension in VSCode I get a:
The text was updated successfully, but these errors were encountered: