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
using Rocket, Compose, IJulia ; set_default_graphic_size(35cm, 2cm)
function draw_ball(t)
IJulia.clear_output(true)
x = -exp(-0.01t) + 1 # x coordinate
y = -abs(exp(-0.04t)*(cos(0.1t))) + 0.83 # y coordinate
display(compose(context(), circle(x, y, 0.01)))
end
source = interval(20) |> take(200) # Take only first 200 emissions
subscription = subscribe!(source, draw_ball)```
sleep(5)
Hey,
Not sure what this error is, but running
clear_output
inside a Jupyter notebook seems to result in an undefined reference error. MWE below.versioninfo()
juliaup
In a Jupyter notebook:
produces the error:
Confirmed this also happens with no output, and with
wait
set totrue
orfalse
.I am using the official Jupyter extension inside VSCode. This is version
v2023.1.2010391206
.The text was updated successfully, but these errors were encountered: