'real-time' bqplot update from external source?

41 views
Skip to first unread message

nlecle...@gmail.com

unread,
Dec 19, 2016, 5:31:35 AM12/19/16
to Project Jupyter
Hi all,
Is there a way to implement (in python) an asynchronous mechanism regularly updating some bqplot  figures in a Notebook?
The idea is to periodically pull some data from external sources and update the associated figures accordinglly.
Thanks.
Nicolas.

MinRK

unread,
Dec 19, 2016, 7:34:53 AM12/19/16
to Project Jupyter
If you fetch data in a background thread and update the bqplot object, this should work. For the background updates to work fully, the most recent version of ipykernel may be needed, so make sure everything is up-to-date.

-Min

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/c858dc71-ee60-49bb-b859-34500ff7ac44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nlecle...@gmail.com

unread,
Dec 19, 2016, 8:19:12 AM12/19/16
to Project Jupyter
Is this really as simple as that? Great!
I had a look to bokeh and things are much more tricky...
Thanks.


Le lundi 19 décembre 2016 13:34:53 UTC+1, Min RK a écrit :
If you fetch data in a background thread and update the bqplot object, this should work. For the background updates to work fully, the most recent version of ipykernel may be needed, so make sure everything is up-to-date.

-Min
On Mon, Dec 19, 2016 at 11:31 AM, <nlecle...@gmail.com> wrote:
Hi all,
Is there a way to implement (in python) an asynchronous mechanism regularly updating some bqplot  figures in a Notebook?
The idea is to periodically pull some data from external sources and update the associated figures accordinglly.
Thanks.
Nicolas.

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages