JuliaGizmos / WebIO.jl

A bridge between Julia and the Web.
https://juliagizmos.github.io/WebIO.jl/latest/
Other
228 stars 64 forks source link

I keep getting web IO not detected even when I have installed it #438

Open aj002 opened 3 years ago

aj002 commented 3 years ago

Here's my code:

import Pkg; Pkg.add("WebIO")
using WebIO
WebIO.install_jupyter_nbextension()
import Pkg; Pkg.add("Interact")
using Interact
function run_infection(T)
    lambda=1.01
    I= zeros(T)
    I[1]=1 #starts indexing at 1
    for n in 1:T-1
       I[n+1]= I[n]*lambda
    end

    plot(I, m=:0)
end

@manipulate for T in 1:100
    run_infection(T)
end

The error I get is: WebIO not detected.

jlumpe commented 3 years ago

You'll definitely need to restart the jupyterlab server first.