You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
I was curious about this package und just tried to run the few examples from README.md.
It happens that the example using Plotly doesn't work when using Blink (the plot does not update when moving the slider or clicking the buttons).
The code is the following:
using InteractNext, PlotlyJS, CSSUtil, DataStructures, Blink
x = y =0:0.1:30
p =plot(x, y);
freqs =OrderedDict(zip(["pi/4", "π/2", "3π/4", "π"], [π/4, π/2, 3π/4, π]))
mp =@manipulatefor freq1 in freqs, freq2 inslider(0.01:0.1:4π; label="freq2")
y =@.sin(freq1*x) *sin(freq2*x)
restyle!(p, y=[y])
nothingend
ui =vbox(mp, p);
w =Window()
p.view.w = w # needed until PlotlyJS.jl is better integrated with WebIO.jlbody!(w, ui)
If that can help, I get a strange warning after assigning to 'mp':
WARNING: An observable named selected already exists in scope vue-component-1f37b6a6-f9e6-4ee5-933a-9f8f2a2f5332.
Overwriting.
I tested it on both Mac OS and Debian, with Julia 6.2, and the Pkg versions are:
Blink 0.6.2
PlotlyJS 0.10.2
WebIO 0.2.4
CSSUtil 0.0.1
DataStructures 0.8.3
Furthermore Pkg.test("InteractNext") does not pass (can't be sure if the error is related)
Any idea?
Thank you ! :)
The text was updated successfully, but these errors were encountered:
fzag
changed the title
InteractNext doesn't work with Plotly with Blink
InteractNext doesn't work with Plotly when using Blink
Jul 5, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I was curious about this package und just tried to run the few examples from README.md.
It happens that the example using Plotly doesn't work when using Blink (the plot does not update when moving the slider or clicking the buttons).
The code is the following:
If that can help, I get a strange warning after assigning to 'mp':
I tested it on both Mac OS and Debian, with Julia 6.2, and the Pkg versions are:
Furthermore Pkg.test("InteractNext") does not pass (can't be sure if the error is related)
Any idea?
Thank you ! :)
The text was updated successfully, but these errors were encountered: