JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Package compile interact is succeful but plots have no interactivity #325

Closed ppalmes closed 1 month ago

ppalmes commented 5 years ago

Is there some steps to perform so that package compiling using PackageCompiler enables interactivity of the plots?

twavv commented 5 years ago

Do you have more context on what you're trying to do? What frontend are you using (Blink, Jupyter, Mux, etc.)?

Also, please make sure this issue is still present on the latest version of WebIO (0.8.7).

ppalmes commented 5 years ago

I am using Jupyter notebook, Julia 1.1, WebIO 0.8.6.

I'll try packagecompile with webio 0.8.7

ppalmes commented 5 years ago

tried with WebIO 0.8.8, still no interactivity with i use the slider. it seems that package compiling needs some ways to dynamically connect interact with webio... should i need init() function?

YermolenkoIgor commented 4 years ago

I had same problem. I tried to reinstall WebIO and Interact and build them. Then

using WebIO
jup = WebIO.find_jupyter_cmd()
WebIO.install_jupyter_nbextension( jup )

then created new notebook and interact examples started to work

shashi commented 4 years ago

@ranjanan has some experience with this.

ranjanan commented 4 years ago

Haven't tried interactive plots specifically but could you make sure that all everything WebIO and Interact depends on is getting linked (all the paths that the package depends on internally) correctly? That's a nice place to start.

mdpetters commented 4 years ago

I had a similar problem using Fezzik.jl with Interact.jl. Running the WebIO setup function restored functionality for me.

using WebIO
WebIO.setup(:ijulia)
shashi commented 4 years ago

Nice @mdpetters. If that was the problem then https://github.com/JuliaGizmos/WebIO.jl/pull/378 should fix this!