Can we have live update a brokeh plot in the ipython notebook?

If I understand correctly, usually when you are plotting a data stream, you can instantiate the stream in, say, an ipython notebook and view the live plot on the server (eg. localhost:5006). Is there a way to have the plot update live within the notebook itself?

Hi Victor,

I think interactive basic example is what you are looking for. It should how to live update the plot using notebook interact widgets. If you want to build some logic to keep live updating the plot without using a widget you can just call the update function (or your own function) without using the widget. Something like (referring to the mentioned example):

for w in range(-25,25):

update(“sin”, w, 1, 0)

``

Cheers

Fabio

···

On Thursday, March 12, 2015 at 6:37:27 PM UTC+1, [email protected] wrote:

If I understand correctly, usually when you are plotting a data stream, you can instantiate the stream in, say, an ipython notebook and view the live plot on the server (eg. localhost:5006). Is there a way to have the plot update live within the notebook itself?