[julia-users] escher fps

2015-11-25 Thread Yakir Gagnon


Hi!
I’m trying to have a plot of some data update continuously using Escher.jl. 
I thought one natural way would be to use the fps function from Reactive.jl. 
The following works fine for 10 frames per second:

using Winston
main(window) = lift(_ -> plot(rand(10)), fps(10))

But I get ERROR (unhandled task failure): push! called when another signal 
is still updating. when I use higher values (for example 20 fps). What am I 
doing wrong? How can I fix it? 

Thanks Shashi!
​


[julia-users] escher fps

2015-11-25 Thread Yakir Gagnon
Hi!
I'm trying to have a plot of some data update continuously using 
`Escher.jl`. I thought one natural way would be to use the `fps` function 
from `Reactive.jl`. The following works fine for 10 frames per second:
```julia
using Winston
main(window) = lift(_ -> plot(rand(10)), fps(10))
```
But I get `ERROR (unhandled task failure): push! called when another signal 
is still updating.` when I use higher values (for example 20 fps). What am 
I doing wrong? How can I fix it? 

Thanks Shashi!