Trouble with data streaming and datetime axis

Hi all,
Attached is a gif illustrating the problem I’m facing when I set ‘x_axis_type’ to ‘datetime’.

This is observed if and only if I’m “remotely” connected to the Jupyter session (i.e. if the web browser is running on a machine which is not the one hosting the Jupyter session).

Everything works smoothly if run the web browser locally (on the Jupyter host).

That’s weird, isn’t? Any idea about the nature of the problem?

Thanks for your help.

Nicolas.

I forgot to mention that the x and y data is always correct (at each point). So, it’s not a data corruption problem.

No idea offhand, would require code to investigate.

Thanks,

Bryan

···

On Mar 10, 2017, at 11:56, nicolas.fr <[email protected]> wrote:

Hi all,
Attached is a gif illustrating the problem I'm facing when I set 'x_axis_type' to 'datetime'.
This is observed if and only if I'm "remotely" connected to the Jupyter session (i.e. if the web browser is running on a machine which is not the one hosting the Jupyter session).
Everything works smoothly if run the web browser locally (on the Jupyter host).
That's weird, isn't? Any idea about the nature of the problem?
Thanks for your help.
Nicolas.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e8d101b6-a76c-45c2-a182-75205cb22739%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Brian,

Here is the some code allowing to reproduce the problem I have with the ‘datetime’ axis. Just make sure you can import dim.py from your notebook session then execute the cellsDateTimeScaleProblem.ipyn.You should some live data updated @ 4 Hz.

The problem seems to be due to a random shifting of the data along the time axis. This shift is sometimes so huge that the data is out of the time range and disappears from the plot. This could obviously come from my code but I really don’t see where. In term of implementation, everything is located into the ScalarChannel class (see dim.py file).

Thanks for your help.

N.

DateTimeScaleProblem.ipynb (4.2 KB)

dsm.py (43.3 KB)

Problem solved since 0.12.5

Nicholas,

I'm sorry this fell off my radar. It's getting (gotten) difficult to keep up with this list as much as I would like. Im glad the fixes in the latest release got things working for you, though!

Thanks,

Bryan

···

On May 20, 2017, at 03:22, nicolas.fr <[email protected]> wrote:

Problem solved since 0.12.5

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6c780c2b-2f96-492b-969b-acc0bbd9a065%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.